帮忙下这个sql语句为什么不能创建表
create table test
(
id int not null primary key identity(1,1),
xy int check( xy>[min] and xy<[max]),
[min] int default(0),
[max] int default(1000)
)
(
id int not null primary key identity(1,1),
xy int check( xy>[min] and xy<[max]),
[min] int default(0),
[max] int default(1000)
)
...全文
相关推荐
sql 创建数据库表、视图语句
我自己做网络课堂网站开发过程中锁创建的数据库表及视图。表结构查询太复杂时可以试着创建视图
通过SQL语句创建与管理数据表实验二.pdf
通过SQL语句创建与管理数据表实验二.pdf
SQL语句创建表.doc
SQL语句创建表.doc
在VS2005用SQL语句连接数据库并创建表
具体代码展示如何在VS2005里面连接本地数据库并创建一定结构的表。
必须会的SQL语句(二) 创建表、修改表结构、删除表
1.创建数据库表 --使用哪个数据库,如果不写这一句是默认的数据库,也可以用鼠标选当前数据库 use testDB --创建表 Create Table tablename ( --id表示字段名 --int 数据类型 --primary key 主键 --not null 非空 --identity(1,1)初始值是1 每次自增长1 id int primary key not null identity(1,1), --unique 唯一 name varchar(20) not null uniqu


