主页 M

新版shipping oracle sql语句

2014-05-31 网页编程网 网页编程网

1.连接:

conn system/manager;

2.建新用户:

create user shipping identified by shipping123;

3.授所有权限:

grant dba,connect,resource to shipping;

4.一个公用的序列

create sequence common_seq
start with 1
increment by 1
minvalue 1
maxvalue 9999
nocycle
nocache
5.用户信息表

create table setting_user (
id number(4),
num varchar2(50),
passwd varchar2(50),
branch varchar2(255),
loginIP varchar2(20),
input date default sysdate
);

insert into setting_user (id,num,passwd,branch) values(common_seq.nextval,'21010','21010123123','test');

阅读原文
阅读 4656
123 显示电脑版