Viewing 15 posts - 2,221 through 2,235 (of 8,416 total)
paul.knibbs (12/29/2010)
And on the one I just tested it on (SQL 2008 Express Edition) I got 283633. Interestingly, second time I got 915585--seems the outcome is largely random!
I assume you...
December 29, 2010 at 3:39 pm
WayneS (12/29/2010)
IF EXISTS (SELECT * FROM tempdb..sysobjects WHERE name like '#Customer%')
DROP TABLE #Customer
is NOT the proper way to test for the existence of a...
December 29, 2010 at 3:38 pm
GSquared (12/28/2010)
Honestly, the only people I've ever met who weren't "a work in progress", were already dead. 🙂
You meet dead people? :unsure:
December 28, 2010 at 2:04 pm
mtassin (12/21/2010)
December 28, 2010 at 1:51 pm
Oleg Netchaev (12/21/2010)
For example, the update in question can be easily restated like this:
Or, even more succinctly:
WITH Records (Old_Seq, New_Seq)
AS (
...
December 28, 2010 at 1:03 pm
I think that removing 32bit support from the next version of SQL Server would be a huge technical and marketing mistake, and even long time users would be slower to...
December 28, 2010 at 12:37 pm
WayneS (12/26/2010)
@paul-2 - seems like the worlds been shaking down near you a lot lately... are you okay?
There have been an unusual number of large quakes in the region recently,...
December 26, 2010 at 6:47 pm
Jeff Moden (12/26/2010)
I'm curious... what does such a trigger do?
The idea is usually to write a CLR trigger which can be attached to many objects, auditing the same information for...
December 26, 2010 at 6:08 pm
TheSQLGuru (12/23/2010)
December 23, 2010 at 10:56 am
GilaMonster (12/22/2010)
:w00t:
Exciting isn't it!
GilaMonster (12/22/2010)
December 22, 2010 at 1:03 pm
Revenant (12/22/2010)
December 22, 2010 at 10:44 am
jteeter (12/22/2010)
December 22, 2010 at 9:53 am
Gail is the subject of the 10th day of SQL:
December 22, 2010 at 9:11 am
Peter Brinkhaus (12/22/2010)
Anyway, here's an alternative...
Definitely counts as elegant in my book. 🙂
December 22, 2010 at 8:45 am
As a regular Top-N-Per-Group problem, we can also write it using a ranking function:
SELECT fcvsq.CoverageKey,
fcvsq.SourceKey,
...
December 22, 2010 at 8:39 am
Viewing 15 posts - 2,221 through 2,235 (of 8,416 total)