select 'CREATE SYNONYM CCP_RELATION.USER_'||object_name||' FOR EMS_USER.'||object_name||';' from dba_objects
where owner='EMS_USER' and object_type in('TABLE');
oracle 创建同义词
最新推荐文章于 2025-06-29 15:19:31 发布
select 'CREATE SYNONYM CCP_RELATION.USER_'||object_name||' FOR EMS_USER.'||object_name||';' from dba_objects
where owner='EMS_USER' and object_type in('TABLE');