I have created a new user account and gave them select and update permission on a table. Now I want to test if everything is correct by running select statement on those tables as the newly created user. Is there a command that would allow to ‘run as’? If not is there a command that allows one to switch the active user?
Share
You can use a proxy user.
So, you can make your user a proxy user (
GRANT CONNECT THROUGHyour user to the user you want to check with) and then connect with that user using your own password.