ber*_*436 33 oracle oracle-sqldeveloper
I don't see any tables in the tables section of a database that I've linked to w/ SQL developer. The DB admin says I need to change the default schema in SQL developer. How do I do that?

Ram*_*Ram 57
alter session set current_schema = otheruser;
Run Code Online (Sandbox Code Playgroud)
应该做的伎俩.
Sim*_* K. 13
我不知道在SQL Developer中这样做有什么办法.在查看"其他用户" - >"<Schemaname>"时,您可以看到所有其他模式及其对象(如果您具有正确的权限).
在您的情况下,要么使用上述方法,要么为要在其中工作的模式创建新连接,要么为要访问的所有表创建同义词.
如果你在SQL*Plus中工作,发布会ALTER SESSION SET CURRENT_SCHEMA=MY_NAME设置你当前的模式(这可能是你的DBA的意思).
这不会改变Oracle Sql Developer中的默认架构,但我想指出快速查看另一个用户架构很容易,右键单击数据库连接:
选择用户以查看该用户的架构