【基础】ORACLE中on commit preserve rows和 on commit delete rows的区别
摘要:首先on commit preserve rows 和 on commit delete rows 都是在oracle 创建临时表时用到的,
阅读全文
posted @
2017-09-14 17:33
Tomatoes
阅读(1205)
推荐(0)
【函数】ORACLE中MULTISET 的用法
摘要:MULTISET 是oracle的集合运算,有以下几种 MULTISET UNION:取得两个嵌套表的并集 结果集中会包含重复值,不去重;
阅读全文
posted @
2017-09-12 20:57
Tomatoes
阅读(3942)
推荐(0)
【基础】ORACLE中的spool 命令
摘要:今天看到一个脚本,翻到SPOOL命令,就查了一下. 先说说spool out 和 spool off 吧,书中的解释: SPOOL:Represents the name of the file to which you wish to spool. SPOOL followed byfile_na
阅读全文
posted @
2017-09-12 14:31
Tomatoes
阅读(734)
推荐(0)
【基础】ORACLE中substr的用法
摘要:ORACLE中substr函数的简单用法 substr(字符串,截取开始位置,截取长度) //返回截取的字 substr('Hello World',0,1) //返回结果为 'H' *从字符串第一个字符开始截取长度为1的字符串 substr('Hello World',1,1) //返回结果为 '
阅读全文
posted @
2017-09-12 11:29
Tomatoes
阅读(240)
推荐(0)