how to set schema in oracle sql developer for oracle e business suite tables

六眼飞鱼酱① 提交于 2021-02-11 14:00:47

问题


I have tried

set schema apps; 

trying in Oracle e-business suite tables getting below message

line 2: SQLPLUS Command Skipped: set schema apps

Is it executed?


回答1:


As far as I understood the question, it is alter session you're looking for, e.g.

alter session set current_schema = apps;

(presuming that schema/username really is apps).




回答2:


Adding one idea to Littlefoot's correct answer: To avoid typing this over and over again, you should ask your DBAs to create a logon trigger for that user, e.g. APPS_QUERY

create or replace trigger apps.apps_query_logon_trg
after logon on apps_query.schema
begin
  execute immediate 'alter session set current_schema=apps';
end;
/


来源:https://stackoverflow.com/questions/61381042/how-to-set-schema-in-oracle-sql-developer-for-oracle-e-business-suite-tables

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!