2014年2月26日
摘要: 1.编写。编写一个最最简单的存储过程,给它起个名字叫做proc_helloworldCREATE OR REPLACE PROCEDURE proc_helloworldISBEGIN DBMS_OUTPUT.put_line ('Hello World!');END;/2.创建。在sqlplus命... 阅读全文
posted @ 2014-02-26 22:05 heidsoft 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 描述性的东西就不来了,搞技术的,最喜欢实在的实例。通过下面的例子,大家很快就能明白insert all与insert first的功能,比文字描述更通俗易懂。一、INSERT ALL 不带条件用法SQL> create table t_table1(tid number,tname varchar(100));Table createdSQL> create table t_table2(tid number,tname varchar(100));Table createdSQL> insert all into t_table1 2 (tid, tname) 3 valu 阅读全文
posted @ 2014-02-26 22:04 heidsoft 阅读(768) 评论(0) 推荐(0) 编辑