Viewing 14 posts - 1 through 14 (of 14 total)
If you specify @sync_type='none' in sp_addsubscription, it seems SQL Server does not call sp_MSrepl_setNFR and mess up your foreign keys. This comes up in a different context (replicating to...
March 11, 2013 at 2:39 pm
Of course if your server has a case sensitive collation, you'll get an error because #Test <> #TEST.
February 21, 2013 at 11:33 am
Regarding Steve from Fairfax's function-based solution... I agree that it is clear and pretty simple. However I think it may have concurrency and possibly integrity issues. You can...
August 20, 2012 at 1:44 pm
(Posted this before reading "page 2" of the discussion... looks like this is the same as Jason Hannas' solution):
Along the lines of athosfolk's note regarding use of a foreign key...
August 20, 2012 at 10:44 am
To Anjali regarding an Oracle version:
Going back at least to 9i, Oracle has Analytic functions that are designed for just this sort of thing. Here's how you could do...
January 24, 2012 at 8:43 am
Thanks for the article! It reminded me of an issue we encountered. If you happen to be using the JDBC driver with mirroring, there are problems with automatically...
March 14, 2011 at 8:16 am
First, thanks for the comment about object_id('tempdb..#t'): I did not realize that would reliably work. I was afraid if 2 sessions both had a #t, object_id() would have the...
April 15, 2009 at 8:31 am
Thanks for this enhancement! I have always been reluctant to use the "select @var=@var + col from tbl" construct, for fear of it stopping working in some future release....
January 28, 2009 at 9:05 am
In case anyone running SQL 2005 reads this thread, I want to note that there are other ways to do the delimited string thing in SQL2k5. For example, this...
January 22, 2008 at 3:11 pm
Noticed the comment about monitors using as much with screensaver as running Office. Here in Wisconsin (USA) our public library system allows us to borrow a throughput meter (the...
November 6, 2007 at 12:11 pm
Did you experiment with SQL 2005's xml indexes? I wonder if they could be used in the sample last name query of the view...
March 26, 2007 at 10:50 am
Seems there should be some mention of the SQL Server bit data type, which internally is implemented as a bitmask. I guess it's a matter of opinion whether a single...
December 13, 2006 at 8:06 am
It can be helpful to use the GetUTCDate() function, which returns current Universal Coordinated Time/ Greenwich Mean Time, based on the local time and timezone settings of the server SQL...
June 13, 2006 at 7:44 am
If you just need to identify IF a list of numbers is in sequence, but not where the gaps are, I believe you can do it in a single pass...
April 3, 2006 at 8:32 am
Viewing 14 posts - 1 through 14 (of 14 total)