sql - Change user during session through a query -


I am currently logged in as an administrator on an Oracle database and I can change my session user with a session Want to Is this possible?

Unfortunately, with ALTER SESSION SET CURRENT_SCHEMA = Schema Name & gt; (as suggested in the comments) does not switch the user too, it allows you to avoid specifying a schema in your SQL statements during the session. In Oracle Database, users and schemas are different, but each user has a schema.

However you can apply your needs.

You grant privileges for the role and you can use the SET ROLE statement during your session.

Comments

Popular posts from this blog

Python Equivalent for matlab cart2pol and pol2cart -

sip - Call SipJs to Asterisk 12 -

java - Joda Time Interval Not returning what I expect -