摘要:
CREATE GLOBAL TEMPORARY TABLE TABLENAME ( COL1 VARCHAR2(10), COL2 NUMBER) ON COMMIT PRESERVE(DELETE) ROWS ; --ON COMMIT DELETE ROWS 说明临时表是事务指定,每次提交后ORACLE将截断表(删除全部行)-----------------------------... 阅读全文
摘要:
1.连接---内连接select * from dali.test1 a, dali.test2 b where a.a=b.a;---左连接select * from dali.test1 a, dali.test2 b where a.a=b.a(+);---右连接select * from dali.test1 a, dali.test2 b where a.a(+)=b.a;---完全连接... 阅读全文