同义词

PHPz
PHPz原创
2016-06-07 16:06:312808浏览

本篇文章主要给大家介绍mysql中同义词相关知识,希望对需要的朋友有所帮助!

相关mysql视频教程推荐:《mysql教程

1.创建:

-- Create the synonym create or replace synonym CPS_ROLE_PERMISSION for CPSSYS.CPS_ROLE_PERMISSION@ORA11G@UCC_BICP;

2.查看

 select * from all_objects t where t.owner like 'LBI_%' AND T.OBJECT_TYPE LIKE 'SY';

1.创建:

-- Create the synonym 
create or replace synonym CPS_ROLE_PERMISSION
  for 
CPSSYS.CPS_ROLE_PERMISSION@ORA11G@UCC_BICP;

2.查看

select * from all_objects t where t.owner like 'LBI_%' AND T.OBJECT_TYPE LIKE 'SY';

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn