写一个在SQL Server创建表的SQL语句

2014-11-23 23:17:01 · 作者: · 浏览: 3

创建一个名为Production的表, 表中各列的名字为ProductionID, ProductionName, Price和Description. ProdictionID是这个标的主键。Price和Description可以为空。


CREATE TABLE dbo.PRODUCTION


(ProductionID int PRIMARY KEY NOT NULL, ProductionName varchar(25) NOT NULL, Price money NULL, Description text NULL)


GO