时间:2021-07-01 10:21:17 帮助过:91人阅读
需要给用jhchen登陆
SQL> create synonym eos_kpi_usersalary for kpi.eos_kpi_usersalary;
Synonym created
批量更改同义词需要先在所有者那里查询:
SELECT ‘ create synonym ‘ || OBJECT_NAME || ‘ for kpi.‘ || OBJECT_NAME || ‘;‘
FROM USER_OBJECTS
WHERE OBJECT_TYPE IN
(‘TABLE‘, ‘VIEW‘, ‘PROCEDURE‘, ‘TRIGGER‘, ‘FUNCTION‘, ‘PACKAGE‘);
复制下面的语句在jhchen用户下面执行即可完成!
本文出自 “一凡” 博客,请务必保留此出处http://1336014.blog.51cto.com/1326014/1655185
oracle创建同义词
标签:oracle 同义词 创建