向表中添加默认值:create table userinfo1
2(id number(6,0),
3.regdate date default sysdate);
insert into userinfo1(id)
2 values(1);
更改默认值:alter table userinfo
modify email defauly'无”;
2(id number(6,0),
3.regdate date default sysdate);
insert into userinfo1(id)
2 values(1);
更改默认值:alter table userinfo
modify email defauly'无”;
2015-07-08
插入值:insert into userinfo
2.value(1,‘xxx’,‘123’,‘xxx@126.com’,sysdate);
select* from userinfo:注:*表示全部,字符串外面需要加单引号;
指定字段添加值 insert into userinfo(id,username,userpwd)
2 values(2,'yyy','123')
select username,userpwd from userinfo
2.value(1,‘xxx’,‘123’,‘xxx@126.com’,sysdate);
select* from userinfo:注:*表示全部,字符串外面需要加单引号;
指定字段添加值 insert into userinfo(id,username,userpwd)
2 values(2,'yyy','123')
select username,userpwd from userinfo
2015-07-08
select file_name from dba_data_files where tablespace_name='TEST1_TABLESPCE'
2015-06-29