Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1150311
  • 博文数量: 178
  • 博客积分: 2776
  • 博客等级: 少校
  • 技术积分: 2809
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-22 15:36
文章分类

全部博文(178)

文章存档

2014年(3)

2013年(66)

2012年(109)

发布时间:2013-03-19 15:30:47

toad for oracle 11substr substrb instr instrb length lengthbinstr(string1,instring2[,start_position[,nth_appearance]])string1:被搜索的字符串string2:在string1里面寻找的字符串start_position:从string1中开始搜索的位置,这是个可选参数,默认为1。sting1中第一个字符的位置为1。如果这个参数为一个负数,.........【阅读全文】

阅读(2557) | 评论(0) | 转发(0)

发布时间:2013-03-15 15:05:19

1.无参数create or replace procedure insertTbisbegininsert into tb values('hongda',10);commit;endcall insertTb();2.有参数create or replace procedure insertTb2(country in varchar2 ,people in number)isbegininsert into tb values(country,people);commit;end insertTb2; call insertTb.........【阅读全文】

阅读(2718) | 评论(0) | 转发(0)

发布时间:2013-03-14 14:40:50

输入的参数不能同列名相同,编译不会出错,运行会报错。(procedure也有这个问题)create or replace function fun_num(country varchar2)return numberispeople number;beginselect people into people from tb where country=country;return people;exceptionwhen no_data_found thenreturn 0;when others t.........【阅读全文】

阅读(1483) | 评论(0) | 转发(0)

发布时间:2013-03-08 11:01:36

Oracle日期格式&操作日期格式:        Year:              yy two digits 两位年                显示值:07.........【阅读全文】

阅读(1563) | 评论(0) | 转发(0)

发布时间:2013-03-07 16:01:32

其它相关视图说明表2 数据字典视图说明视图名描述主要字段说明v$session查询会话的信息和锁的信息。 sid,serial#:表示会话信息。program:表示会话的应用程序信息。row_wait_obj#:表示等待的对象。和DBA_objects中的object_id相对应。v$session_wait查询等待的会话信息。 sid:表示持有锁的会话信息。Se.........【阅读全文】

阅读(2193) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

woshiginus2013-06-17 10:43

发现好东西了,呵呵!楼主学习下!

回复  |  举报

saintli862012-11-30 13:01

好东西不少,我要常来学习!

回复  |  举报

云中的二舅2012-07-27 14:18

欢迎大家给我留言

回复  |  举报
留言热议
请登录后留言。

登录 注册