Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
matkwan
Starting Member
36 Posts |
Posted - 2002-09-27 : 20:52:43
|
| Hi, I have tried the following SQLs but didn't work.ALTER TABLE tblUsers MODIFY userID int IDENTITY(0,1);ALTER TABLE tblUsers ALTER COLUMN userID int IDENTITY(0,1);Please help.Thanks |
|
|
shallu1_gupta
Constraint Violating Yak Guru
394 Posts |
Posted - 2002-09-28 : 01:08:32
|
| Hi,u can use "set identity_insert <tablename> on|off"to switch off or on the identity insert |
 |
|
|
harshal_in
Aged Yak Warrior
633 Posts |
Posted - 2002-09-28 : 03:01:39
|
| try usingSET IDENTITY_INSERT [ database. [ owner. ] ] { table } { ON | OFF }harsh. |
 |
|
|
|
|
|