通过这种方法创建表时如何插入IDENTITY列(在表级别创建IDENTITY)?
Create Table ProspectiveTenant
(
PTID int,
Name varchar (25),
Email varchar (25),
ApplicationFillDateTime Date,
MetSamanthaDateTime Date
Add (PTID) Identity (1,1)--this is not working
通过这种方法创建表时如何插入IDENTITY列(在表级别创建IDENTITY)?
Create Table ProspectiveTenant
(
PTID int,
Name varchar (25),
Email varchar (25),
ApplicationFillDateTime Date,
MetSamanthaDateTime Date
Add (PTID) Identity (1,1)--this is not working