I am working in .net 4.0 and Visual Basic 2010 Express.
I have tried this for the old AUTO_INCREMENT:
Neither of these work.
There is an error with "identity".
I have tried this for the old AUTO_INCREMENT:
Code:
ALTER TABLE table1 ALTER COLUMN col1 int identity(1,1) NOT NULL;
Code:
CREATE TABLE table2 (col1 int identity(1,1) NOT NULL, col2 varchar(25) NOT NULL, col3 varchar(25) NOT NULL)
There is an error with "identity".