Is it possible to change a password for an Oracle user account over a linked server?
I know I can use xp_cmdshell and launch sqlplus with my query, but I would prefer an alternate route, such as OPENQUERY.
So far I have tried the following command:
SELECT * FROM OPENQUERY ( linked_server_name, 'alter userusername identified by password_to_change_to replace old_password') I get the following response:
Cannot process the object "alter user username identified by password_to_change_to". The OLE DB provider "OraOLEDB.Oracle" for linked server "linked_server_name" indicates that either the object has no columns or the current user does not have permissions on that object.
I am changing the same username that the linked server is using as well, so I should have access to change the user's password.
Any help would be much appreciated.