时间:2021-07-01 10:21:17 帮助过:42人阅读
临时:
alter session set current_schema=X;
永久:
alter session set current_schema= X 倒是能解决问题,但这总不是个永久的解决方案;
在after log on事件上做触发器执行上面的语句;
create or replace trigger set_default_schema
after logon on Y.schema
begin
execute immediate ‘alter session set current_schema=X‘;
oracle修改用户的schema
标签:after session imm creat media rac oracle logo create