Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to permanently change the default schema for an existing user?

mattknowlesJan 18 2011 — edited Jan 19 2011
I'm familiar with the "alter session set current schema" command, and I know I can put that in my login.sql script, so that it runs every time I log in. I'm also familiar with After Login triggers, but I'm hoping there's a better approach.

Is there a way to permanently change the schema associated with an existing user? I was hoping for an "alter user <user> set schema = <schema>" but that doesn't appear to be supported.

Does anyone know of a better way to do this?

Thanks,
Matt Knowles
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2011
Added on Jan 18 2011
16 comments
8,019 views