摘要:
基本数据类型: 1 Number------------数字型 Int----整数型2 Pls_integer-------整数型,产生溢出时出现错误3 Binary_integer----整数型,表示带符号整数 4 Char--------------定长字符型,最大255个字符5 Varchar2----------变长字符型,最大2000个字符6 Long--------------变长字... 阅读全文
posted @ 2006-04-05 13:41
kuning的程序博客
阅读(382)
评论(0)
推荐(0)
摘要:
首先给出一段小程序: 1 set serveroutput on 2 declare 3 maxrecords constant int:=100; 4 i int:=1; 5 begin 6 for i in 1..maxrecords loop 7 insert into testtable(recordnumber,currentdate) 8 values(i,sysdate) 9 ... 阅读全文
posted @ 2006-04-05 13:04
kuning的程序博客
阅读(185)
评论(0)
推荐(0)
摘要:
oracle9i种引用表的方式一般是用户名.表名的格式.几种较复杂的SQL.1:非等值查询例句:select emp.empno,emp.ename,emp.deptno,dept.dname,dept.doc from scott.emp,scott.dept where scottemp.deptno!=scott.dept.deptno and scott.emp.deptno=10;2:嵌... 阅读全文
posted @ 2006-04-05 11:38
kuning的程序博客
阅读(368)
评论(0)
推荐(0)
浙公网安备 33010602011771号