随笔分类 - SQL
摘要:create table student(id number(4) constraint prim_key primary key,name varchar(8) not null,sex varchar(2) check(sex in('男','女')),birthday date check(b
阅读全文
摘要:原内容搬迁到了新网站,给你带来的不便,敬请谅解! ==》 http://www.suanliutudousi.com/2017/08/28/sql-server-2008-com-microsoft-sqlserver-jdbc-sqlserverexception-%E9%80%9A%E8%BF%
阅读全文
摘要:转自 http://www.cnblogs.com/longhs/p/3670307.html SQLServer 中有五种约束, Primary Key 约束、 Foreign Key 约束、 Unique 约束、 Default 约束和 Check 约束,今天使用SQL Server2008 来
阅读全文