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 |
ivacacela
Starting Member
10 Posts |
Posted - 2006-12-20 : 08:45:16
|
Hi,Please I like to know the SQL command to alter a table to change a column to support Identity (Autoincrement).Thanks in advance. |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-12-20 : 08:57:15
|
1 You cant alter existing column to have identity property2 Do this in Enterprise ManagerMadhivananFailing to plan is Planning to fail |
 |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2006-12-20 : 09:03:15
|
orAlter Table Table1drop column col1Alter Table Table1add col1 int identity(1,1) Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
ivacacela
Starting Member
10 Posts |
Posted - 2006-12-20 : 15:17:34
|
Thanks for your support, it solves 100% my question.Thanks again to both of you.Ivan |
 |
|
|
|
|