摘要: --&变量名,&&变量名简析-----------------------------------------------------------1 set verify on;2 select * from tcpn_jodsmapping where productid = '&ProductI... 阅读全文
posted @ 2015-12-18 17:13 MorePrograms 阅读(314) 评论(0) 推荐(0) 编辑
摘要: PL/SQL Exception 抛出和处理1.获得EXCEPTION 具体信息:1 dbms_output.put_line('error code is: '||sqlcode);2 --输出异常号3 dbms_output.put_line('error message is: '||sqle... 阅读全文
posted @ 2015-12-18 17:10 MorePrograms 阅读(286) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-12-13 22:14 MorePrograms 阅读(4) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-12-13 22:13 MorePrograms 阅读(5) 评论(0) 推荐(0) 编辑
摘要: There is a very useful shell script to handle something for utl_file, utl_http and utl_smtp. The following code will create a directory for using ut... 阅读全文
posted @ 2015-12-09 18:31 MorePrograms 阅读(198) 评论(0) 推荐(0) 编辑
摘要: The below is about utl_file operation:First, you should make a directory at the path that you wish:[jeffreyxu@rat167 ~]$ mkdir test_dirIf you want any... 阅读全文
posted @ 2015-12-09 17:48 MorePrograms 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 要旨:左连接显示左边全部的和右边与左边相同的右连接显示右边全部的和左边与右边相同的内连接是只显示满足条件的Oracle左连接,右连接数据表的连接有:1、内连接(自然连接): 只有两个表相匹配的行才能在结果集中出现2、外连接: 包括(1)左外连接 (左边的表不加限制)(2)右外连接(右边的表不加限制)... 阅读全文
posted @ 2015-12-08 21:21 MorePrograms 阅读(269) 评论(0) 推荐(0) 编辑
摘要: In coding, we often meet some sql queries like ' select many cloumns from tablename where condition; '. When the number of cloumns is dynamic, we shou 阅读全文
posted @ 2015-11-29 19:08 MorePrograms 阅读(381) 评论(0) 推荐(0) 编辑
摘要: If you need to merge some data into one table you want by replacing manual inserting with ' merge into ' operation, maybe the following code is what y... 阅读全文
posted @ 2015-11-19 16:00 MorePrograms 阅读(198) 评论(0) 推荐(0) 编辑
摘要: If you need to use utl_http, utl_mail and utl_stmp on oracle, maybe you should do is drop acl list(access control list) following the below code at ... 阅读全文
posted @ 2015-11-13 13:22 MorePrograms 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Original works, reproduced and please indicate the source When we get a string with character ':', and we wish to split it without ':' and get each on 阅读全文
posted @ 2015-10-15 09:52 MorePrograms 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Sample scripts for sending E-mail messages from PL/SQL:Starting from Oracle 8i release 8.1.6, one can send E-mail messages directly from PL/SQL using ... 阅读全文
posted @ 2015-09-25 18:08 MorePrograms 阅读(263) 评论(0) 推荐(0) 编辑
摘要: tree功能说明:以树状图列出目录的内容。语 法:tree[-aACdDfFgilnNpqstux][-I][-P][目录...]补充说明:执行tree指令,它会列出指定目录下的所有文件,包括子目录里的文件。参 数:-a显示所有文件和目录。-A使用ASNI绘图字符显示树状图而非以ASCII字符组... 阅读全文
posted @ 2015-09-23 20:24 MorePrograms 阅读(271) 评论(0) 推荐(0) 编辑
摘要: FindFind是一个非常有效的工具,它可以遍历当前目录甚至于整个文件系统来查找某些文件或目录.主要选项:-name 按照文件名查找文件-perm 按照文件权限来查找文件-prune 不在当前指定的目录中查找-user 按照文件属主来查找文件-group 按照文件所属的组来查找文件-mtime -n... 阅读全文
posted @ 2015-09-23 18:12 MorePrograms 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1.作用Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。2.格式grep [options]3.主要参数[optio... 阅读全文
posted @ 2015-09-23 18:10 MorePrograms 阅读(369) 评论(0) 推荐(0) 编辑
摘要: There are two ways to check the path of object file, here you are:>find / -name filename.suffix>locate filename.suffixthe above commands will display ... 阅读全文
posted @ 2015-09-23 13:59 MorePrograms 阅读(199) 评论(0) 推荐(0) 编辑
摘要: execute the following commands by using system account login oracle: >sqlplus system/111111@localhost:1522/xe;SQL*Plus: Release 12.1.0.1.0 Production... 阅读全文
posted @ 2015-09-22 20:19 MorePrograms 阅读(279) 评论(0) 推荐(0) 编辑
摘要: START TRANSACTION [WITH CONSISTENT SNAPSHOT]BEGIN [WORK]COMMIT [WORK] [AND [NO] CHAIN] [[NO] RELEASE]ROLLBACK [WORK] [AND [NO] CHAIN] [[NO] RELEASE]SE... 阅读全文
posted @ 2015-09-22 11:46 MorePrograms 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Oracle/PLSQL: LPAD FunctionThis Oracle tutorial explains how to use the Oracle/PLSQL LPAD function with syntax and examples.DescriptionThe Oracle/PLSQ... 阅读全文
posted @ 2015-09-18 18:15 MorePrograms 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Oracle/PLSQL: LENGTH FunctionThis Oracle tutorial explains how to use the Oracle/PLSQL LENGTH function with syntax and examples.DescriptionThe Oracle/... 阅读全文
posted @ 2015-09-18 18:14 MorePrograms 阅读(270) 评论(0) 推荐(0) 编辑