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 |
|
himithun
Starting Member
3 Posts |
Posted - 2005-09-13 : 09:28:29
|
| I have a table 5-6 fields. One of them is set with Identity feature. I am looking for some SQL command through which I can remove the Identity feature of that field.RegardsMithun |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-09-13 : 09:34:56
|
| I think you need to remove it from EnterPrise ManagerIn SQL Command, you need to create new column of int typeupdate it with the values of identity fielddrop identity fieldrename new column as that of identity columnMadhivananFailing to plan is Planning to fail |
 |
|
|
himithun
Starting Member
3 Posts |
Posted - 2005-09-13 : 09:47:06
|
quote: Originally posted by madhivanan I think you need to remove it from EnterPrise ManagerIn SQL Command, you need to create new column of int typeupdate it with the values of identity fielddrop identity fieldrename new column as that of identity columnMadhivananFailing to plan is Planning to fail
HiThanks for reply. I know this is possible from Enterprise Manager but I am looking for some SQL command to do the task.The table is blank.The steps I would like to follow is as follows1. Disable the Identity feature2. Restore the data3. Then again enable the Identity feature.RegardsMithun |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-09-13 : 09:48:35
|
go to EM and change it there. then before you save your changes press the button script changes and you'll see what you have to do in QA.Go with the flow & have fun! Else fight the flow |
 |
|
|
himithun
Starting Member
3 Posts |
Posted - 2005-09-13 : 10:22:18
|
quote: Originally posted by spirit1 go to EM and change it there. then before you save your changes press the button script changes and you'll see what you have to do in QA.Go with the flow & have fun! Else fight the flow 
HiThanks. It worked and purpose is served. Thank you very much. RegardsMithun |
 |
|
|
|
|
|