创建别名: create alias alias_name for tab_name|view_name... 删除别名: drop alias alias_name 创建同义词(synonym): create synonym syn_name for ...create public synonym syn_name for ... 删除同义词: drop synonym syn_namedrop public synonym syn_name…
作者: kent鹏 转载请注明出处: http://www.cnblogs.com/xieyupeng/p/7289451.html --oracle分页(Pageing Query) select * from (select rownum r,e1.* from (select * from emp order by sal) e1 ) ; SQL SQL> --查询工资比SCOTT高的员工信息 SQL> --1. SCOTT的工资 SQL> select sal from emp…
db2 catalog tcpip node rmt_node remote 127.0.0.1 server 50000; --db2 catalog database rmt_db as rmt_db_as at node rmt_node;db2 terminate; 测试连通性 --db2 connect to rmt_db_as user db2inst1 using db2inst1 --db2 connect reset --db2 uncatalog db dbAlisName-…