摘要: MULTISET 是oracle的集合运算,有以下几种 MULTISET UNION:取得两个嵌套表的并集 结果集中会包含重复值,不去重; 阅读全文
posted @ 2017-09-12 20:57 Tomatoes 阅读(3604) 评论(0) 推荐(0) 编辑
摘要: 今天看到一个脚本,翻到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 阅读(663) 评论(0) 推荐(0) 编辑
摘要: ORACLE中substr函数的简单用法 substr(字符串,截取开始位置,截取长度) //返回截取的字 substr('Hello World',0,1) //返回结果为 'H' *从字符串第一个字符开始截取长度为1的字符串 substr('Hello World',1,1) //返回结果为 ' 阅读全文
posted @ 2017-09-12 11:29 Tomatoes 阅读(214) 评论(0) 推荐(0) 编辑