摘要: --创建表空间create tablespace myspacedatafile 'D:/or/myfile.dbf'size 50M;--创建用户--create user 用户名 identified 密码;create user t95 identified by t95;--为用户授权--c... 阅读全文
posted @ 2015-05-24 22:14 Noilany 阅读(95) 评论(0) 推荐(0)
摘要: create table sporter( sporterid number(8) primary key, sname nvarchar2(50) not null, sex number(2) check (sex in(0,1)), department nvarchar2(50) not n... 阅读全文
posted @ 2015-05-24 22:10 Noilany 阅读(151) 评论(0) 推荐(0)
摘要: --存储过程语法create or replace procedure 名字( 参数1 in/out 类型(不能给长度), 参数2 in/out 类型(不能给长度), 参数3 in/out 类型(不能给长度))is 参数4 类型(可以给长度); 参数5 类型(可以给长度);begin 过程内容end... 阅读全文
posted @ 2015-05-24 22:09 Noilany 阅读(130) 评论(0) 推荐(0)