oracle-同义词,又学到东西了

select  col1  from tab1@db_link1;

 

create or replace synonym test123 as se,ect col1 from tab1@db_link1;

创建同义词的时候 明确指定 表的访问方式

记录一下,使用同义词完全 不需要在  表名 添加 @db_link1,呵呵

posted @ 2016-06-14 08:58  Oracle-fans  阅读(131)  评论(0编辑  收藏  举报