dbTalk Databases Forums  

NOT FOR REPLICATION, Enterprise manager

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss NOT FOR REPLICATION, Enterprise manager in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
figo via SQLMonster.com
 
Posts: n/a

Default NOT FOR REPLICATION, Enterprise manager - 05-16-2005 , 10:48 AM






Hi.

How can i set NOT FOR REPLICATION option to column in the enteprise manager.

SQL Server 2000

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
figo via SQLMonster.com
 
Posts: n/a

Default Re: NOT FOR REPLICATION, Enterprise manager - 05-16-2005 , 12:08 PM






help ...

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #3  
Old   
Simon Hayes
 
Posts: n/a

Default Re: NOT FOR REPLICATION, Enterprise manager - 05-17-2005 , 01:52 AM



No idea, but I suspect it's not possible - EM is really a management
tool, and there are some things that can only be done from Query
Analyzer.

If you mean that you want to add NOT FOR REPLICATION to an IDENTITY
column, then unfortunately there's no direct way - the ALTER TABLE
command doesn't support this. Probably the best solution is to create a
new table with the definition that you want, copy the data into it,
drop the original table, and rename the new one. See CREATE TABLE, SET
IDENTITY_INSERT, and sp_rename in Books Online.

If this isn't helpful, I suggest you post some more information about
exactly what you need to do, and the SQL commands you're using.

Simon


Reply With Quote
  #4  
Old   
figo via SQLMonster.com
 
Posts: n/a

Default Re: NOT FOR REPLICATION, Enterprise manager - 05-17-2005 , 04:35 AM



Thanks, it's OK

--
Message posted via http://www.sqlmonster.com

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.