Consolidation

Technical Article

RE: replication with triggers

  • Reply

Ouch... Well here is the method I use to alter triggers in bulk... -- Add the triggers to a working table IF NOT object_id('tempdb..#DisabledTriggers') IS NULL DROP TABLE #DisabledTriggers SELECT so.name TriggerName, sot.name TableName, sc.text TriggerSql INTO #DisabledTriggers FROM syscomments sc JOIN sysobjects so on sc.id = so.id JOIN sysobjects sot on so.parent_obj = sot.id […]

2003-06-19

Technical Article

RE: IDENTITY_INSERT

  • Reply

set identity_insert aaa on insert into mytab(id, name) values (1,'fred') insert into mytab(id, name) values (2,'sam') insert into mytab(id,name) select custid, name from customer set identity_insert aaa off 1) You need to specify the column names when inserting into an identity column 2) Don't forget to turn the identity_insert back off. Robert F Knopf

2003-06-19

1 reads

Technical Article

RE: New Feature

  • Reply

As long as people learn, I sure don't care. You can live with your score being high artificially Brian Knight bknight@sqlservercentral.com http://qa.sqlservercentral.com/columnists/bknight

2003-06-15

Technical Article

RE: Why should prevent creation of new DTS packages...

  • Reply

My personal preference is to break all of his fingers, but I know that probably won't be considered acceptable. There's an FAQ with some more details if you want to get really specific with permissions: http://qa.sqlservercentral.com/faq/viewfaqanswer.asp?categoryid=2&faqid=252 K. Brian Kelley http://www.truthsolutions.com/ Author: Start to Finish Guide to SQL Server Performance Monitoring http://www.netimpress.com/shop/product.asp?ProductID=NI-SQL1

2003-06-13

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers