Viewing 15 posts - 586 through 600 (of 4,081 total)
Agreed. Formatting like that described in the original post is handled by the application program (Word, SSRS), not by SQL.
March 4, 2014 at 1:14 pm
Okay, I just had to do some testing.
If frontloading isn't an issue, you can use the following in place of the CHECKSUM test and get similar results with fewer CPU...
March 4, 2014 at 1:10 pm
Jeff Moden (3/4/2014)
Personally, I use a dart board. 😛
How hard to you have to fling a pork chop to make it stick, Jeff? 😀
March 4, 2014 at 12:37 pm
Lamprey13 (12/16/2010)
SELECT TOP 10 * FROM MyTable
WHERE 0.01 >= CAST(CHECKSUM(NEWID(), SomeColumnName) & 0x7fffffff...
March 4, 2014 at 12:36 pm
Here is a patch for the original code that was intended to find a small number of rows (50). It assumes that the key number N in...
March 4, 2014 at 11:47 am
KoldCoffee (3/4/2014)
March 4, 2014 at 10:33 am
Masterful? Do you need to borrow money or something, Jason?
March 4, 2014 at 10:31 am
Here is another way to improve performance while ensuring the desired number of rows. (see attachment) Whether or not you really need the performance gain depends on...
March 3, 2014 at 5:03 pm
TomThomson (2/25/2014)[/b]
The Dixie Flatline (2/25/2014)
rodjkidd (2/25/2014)
Steve Jones - SSC Editor (2/24/2014)
I went to the Rock and Roll Hall of Fame in Cleveland a few weeks ago. It was pretty neat...
February 26, 2014 at 2:33 pm
rodjkidd (2/25/2014)
Steve Jones - SSC Editor (2/24/2014)
I went to the Rock and Roll Hall of Fame in Cleveland a few weeks ago. It was pretty neat to see the history...
February 25, 2014 at 12:54 pm
Tom Bakerman (2/24/2014)
BXRWXR (2/24/2014)
How is this different from plain old EXEC(@SomeSQLStatement)?BR
One big difference is that with sp_ExecuteSQL you can define parameters external to the @SomeSQLStatement variable, thereby reusing the dynamic...
February 24, 2014 at 10:21 am
GilaMonster (2/20/2014)
stormsentinelcammy (2/20/2014)
will this forum thread ever get back on topic?After over 40 000 posts, I don't think it has a topic any longer.
I think that's one of the worst...
February 20, 2014 at 12:50 pm
SQLRNNR (2/19/2014)
Yay - I'm finally insane!!! :hehe::w00t:
Finally?
This comes as a surprise why exactly?
February 20, 2014 at 12:47 pm
JAZZ Master (2/13/2014)
crookj (2/13/2014)
WotD - ubiquityomnipresence
omnipotence
February 13, 2014 at 1:24 pm
L' Eomot Inversé (2/11/2014)
Revenant (2/11/2014)
Ed Wagner (2/11/2014)
Kurt W. Zimmerman (2/11/2014)
jcrawf02 (2/11/2014)
Ed Wagner (2/11/2014)
BWFC (2/11/2014)
SQLRNNR (2/11/2014)
Ed Wagner (2/11/2014)
BWFC (2/11/2014)
Ed Wagner (2/11/2014)
SQLRNNR (2/10/2014)
Ed Wagner (2/10/2014)
SQLRNNR (2/10/2014)
Stuart Davies (2/10/2014)
Ed Wagner (2/10/2014)
crookj (2/10/2014)
Stuart Davies...
February 11, 2014 at 3:34 pm
Viewing 15 posts - 586 through 600 (of 4,081 total)