Viewing 15 posts - 47,791 through 47,805 (of 59,095 total)
If you want to return a table's worth of splits, then you have to stop worrying about the rows and worry only about the column. 😀
I don't know...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 7:55 pm
And I disagree because RI isn't the only reason to have a PK. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 3:32 pm
Heh... and by the way... this...
T - you do whatever transformation or massaging is needed...
... sometimes means deleting duplicated data. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 2:54 pm
PaulB (10/11/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 2:51 pm
GilaMonster (10/11/2008)
Jeff Moden (10/11/2008)
... and, here's the tests... these work on both 2k and 2k5. According to Gail's fine blog, some of these tests will not work on 2k8...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 2:42 pm
rbarryyoung (10/10/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 2:25 pm
PaulB (10/11/2008)
How about staging tables in a Data Warehouse environment?
As you should know Staging tables are nothing...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 11:58 am
Outstanding explanation, Kenney.
On the recursive thing... do keep in mind that recurssion is nothing more than a loop and has the same performance impedements as a loop. In other...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 11:33 am
Except for things like what Marios pointed out, I avoid table variables like the plague not only because of their "single record" execution plan, but because they are also more...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 11:20 am
Guess I'll throw the testing I've done in the past into the ring... 🙂
The testing below takes the "display" out of the picture using a throw-away variable of the DATETIME...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 11:11 am
Chris Harshman (10/10/2008)
Gary Johnson (10/10/2008)
It would be interesting to see what performed better. 😉
Actually the DateAdd/DateDiff method seems to perform slightly better (like 6 milliseconds better over 25,000 rows) than...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 11, 2008 at 10:09 am
ggraber (10/10/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2008 at 7:43 pm
rbarryyoung (10/10/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2008 at 7:36 pm
J (10/10/2008)
"Thorn"wut?
"Thorn" is actually the name of a character in the ASCII character set. A good description and history of the character is found at the following URL...
http://en.wikipedia.org/wiki/%C3%9E
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2008 at 7:31 pm
Alex Grinberg (10/10/2008)
You could use select * from sys.objects where is_ms_shipped = 0 as well. I am not INFORMATION_SCHEMA fan. This is personal preference.:D
Heh... I forgot about that. I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 10, 2008 at 7:24 pm
Viewing 15 posts - 47,791 through 47,805 (of 59,095 total)