editorial

Technical Article

RE: Removal of Foreign Key's from DB.

  • Reply

Another work around. declare @foreignkey sysname declare @referencingtable sysname declare @cmd sysname DECLARE fkey_cursor CURSOR FOR SELECT object_name(constid), object_name(fkeyid) from sysreferences OPEN fkey_cursor FETCH NEXT FROM fkey_cursor INTO @foreignkey, @referencingtable WHILE @@FETCH_STATUS = 0 BEGIN select @cmd = 'alter table ' + @referencingtable + ' drop constraint ' + @foreignkey print @cmd exec (@cmd) FETCH […]

You rated this post out of 5. Change rating

2003-05-05

Technical Article

RE: Using third party tools

  • Reply

I got a copy and found it to be highly usefull. My only concerns are what is the compression threshold before loseless becomes lossy potential in data. But so far I have no issues. Have seen it take a bit long than I expected to get data restored. And there is an article on the […]

You rated this post out of 5. Change rating

2003-05-05

Technical Article

RE: Auto Close and Auto Shrink - Just Don't

  • Reply

Another problem with autoshrink is simplf that it moves data. You might work very hard to make sure your tables, indexes, etc., get built contiguously only to have autoshrink make mincemeat of all your hard work. Like the author says: no thanks. One possible exception: a sandbox / desktop server where space really *might* matter […]

You rated this post out of 5. Change rating

2003-05-05

1 reads

Technical Article

RE: Not for Replication seems to be ignored

  • Reply

Aha - there's your problem. The NOT FOR REPLICATION option only prevents the trigger from firing when a replication agent is performing the action (insert, update or delete). The trigger still fires during the original action by the user. The idea behind NOT FOR REPLICATION is that you don't want the trigger to repeat the […]

You rated this post out of 5. Change rating

2003-05-05

2 reads

Technical Article

RE: Error during Replicating

  • Reply

I would most likely suspect just that. You might try setting the locking to page level specifically or use NOLOCK in your Report query to see if affects. However, the only way to know for sure is stop the process that handles the reporting. If you are going to run in this method you should […]

You rated this post out of 5. Change rating

2003-05-05

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

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