- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is there a way to reset the database password from SAS? I would like to give the ability for SAS users to be able to reset their database password (in my case Teradata pw) from SAS. Is there a way to do it?
I was wondering if I could run a macro (that is on Teradata) from SAS that would reset the password for the user. Is that possible?
Thanks
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I'd expect the syntax to be similar to Oracle's:
proc sql;
connect to oracle (user="&username" path='xx' pw="&cur_pwd" );
execute (alter user &username identified by "&new_pwd" replace "&cur_pwd" ) by oracle;
quit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
SQL Pass Through and you can use (EDIT): since your using TeraData it looks like you would use MODIFY USER to change passwords. Not very secure and is going to require an existing connection to the database, although I'm pretty sure your going to need a connection to the database regardless of method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I'd expect the syntax to be similar to Oracle's:
proc sql;
connect to oracle (user="&username" path='xx' pw="&cur_pwd" );
execute (alter user &username identified by "&new_pwd" replace "&cur_pwd" ) by oracle;
quit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content