Groups | Blog | Home
all groups > sql server clients > september 2007 >

sql server clients : Disable Identity


Rogers
9/14/2007 5:54:51 PM
I want to disable the identity property on one of my column, can any one
tell me how I can do that from query analyzer, I can do that from Enterprise
Manager but I want to do through query analyzer?

Plz advice

Thanks

Mike C#
9/15/2007 8:51:00 PM
Check out SET IDENTITY_INSERT in BOL.

[quoted text, click to view]

Tibor Karaszi
9/15/2007 9:17:02 PM
Enterprise Manager creates a new table. To, there's no magic involved. Press the "Save change
script" button and you will see what EM does behind your back.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


[quoted text, click to view]
AddThis Social Bookmark Button