Sql建表語句

老皆知發表於2014-04-18
create table dbo.[Finance_CityInfo]
([CityId] int identity(1,1)  not null  ,
[City] nvarchar(20) not null  ,
[CityPinyin] varchar(50) ,
[ShortIndb] varchar(20) ,
[ShortDomain] varchar(100) ,
[IsNorth] varchar(10) ,
[IsOpen] int default('1')  not null  ,
[CitySort] int default('1')  ,
primary key(CityId)
 ) 
  go  
 

 

相關文章