-
SYSAUX//辅助表空间 UNDOTBS1//恢复文件的表空间 TEMP//临时文件的表空间 USERS//查看全部
-
alter table userinfo_f4 add constraint fk_typeid_alter foregin key(typeid_new) references typeinfo(typeid);查看全部
-
alter table userinfo modify username varchar2(20) not null;查看全部
-
default 默认值 sysdate 系统时间查看全部
-
删除表: --删除表的内容,保留表结构 truncate table table_name; --删除表结构和表的内容 drop table table_name;查看全部
-
alter table userinfo modify REMARKS NVARCHAR2(400);查看全部
-
default 默认查看全部
-
create table table_name(column1 datetype primary key,…);查看全部
-
alter table table_name modify column_name datatype null;查看全部
-
alter table table_name modify column_name datatype not null查看全部
-
在建表时创建非空约束--create table table_name (column_name datatype not null,…);查看全部
-
复制数据 insert into table_new [(column1,…)] select column1,…|* from table_old;查看全部
-
复制表数据 在创建表时复制--create table table_new as select column1,…|* from table_old查看全部
-
删除数据--delete from table_name[where condition]查看全部
-
修改字段里的数据--update table_name set column1=values1…[where condition];查看全部
举报
0/150
提交
取消