上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
  2006年4月5日
摘要: 基本数据类型: 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)
  2006年4月3日
摘要: 命令行管理: 在数据库服务器上选择程序/运行---注意是在数据库服务器上 在c:\oracle\oracle9i0\bin目录下执行dgmgrl.exe 进行管理可以输入help查看命令选项登录数据库: connect 用户名/密码@数据库服务器关闭数据库: shutdown normal --正常关闭 shutdown immediate--立即关闭 shu... 阅读全文
posted @ 2006-04-03 16:36 kuning的程序博客 阅读(218) 评论(0) 推荐(0)
  2006年3月31日
摘要: 一、SQL PLUS 1 引言 SQL命令 以下17个是作为语句开头的关键字: alter drop revoke audit grant rollback* commit* insert select comment lock update create noaudit validate delete rename 这些命令必须以“;”结尾 带*命令... 阅读全文
posted @ 2006-03-31 14:51 kuning的程序博客 阅读(1058) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页