做最好的自己~~

Be My Personal Best!

导航

2008年5月28日 #

SQL常用语句收集

摘要: 1 添加外键: alter table 表名1 add constraint 外键名 foreign key (外键字段) references 表名2(外键字段) 2 添加索引(此键一定是汪加了not null后): create unique index 约束名 on 表名(约束字段 desc) 3 添加not null约束 : alter table 表名 alter column 约束列... 阅读全文

posted @ 2008-05-28 12:43 阿万 阅读(581) 评论(0) 推荐(0) 编辑