dbTalk Databases Forums  

Disable Identity

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Disable Identity in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rogers
 
Posts: n/a

Default Disable Identity - 09-14-2007 , 04:54 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



Reply With Quote
  #2  
Old   
Tibor Karaszi
 
Posts: n/a

Default Re: Disable Identity - 09-15-2007 , 02:17 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


"Rogers" <naissani (AT) hotmail (DOT) com> wrote

Quote:
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




Reply With Quote
  #3  
Old   
Mike C#
 
Posts: n/a

Default Re: Disable Identity - 09-15-2007 , 07:51 PM



Check out SET IDENTITY_INSERT in BOL.

"Rogers" <naissani (AT) hotmail (DOT) com> wrote

Quote:
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





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.