Viewing 15 posts - 46,786 through 46,800 (of 59,095 total)
Kris (12/5/2008)
I was reading somewhere that instead of using cross tabs they used inner joins on same table, Is it save to assume that both Pivot and Cross Tabs preform...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2008 at 5:20 pm
Heh... I do smoke, but it's better than fuming. 😛 and, I drink about 3 to 4 quarts of coffee a day which is still less Caffeine than someone...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2008 at 2:17 pm
Sorin Petcu (12/5/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2008 at 2:14 pm
That's part of the reason why people still use cross-tabs on the server side... "Respect the pipe!" 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2008 at 6:08 am
Brandie Tarvin (12/5/2008)
Jeff Moden (12/4/2008)
correct answer is NOT "When you think there's no other way"
Actually, I must point out that I've run into one...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2008 at 6:03 am
Click on my name to the left of this post near my avatar... send me an email.
I'll be happy to look at it through email before you post...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2008 at 5:46 am
rog pike (12/4/2008)
@transform='(Room) as Room',
@rows='[Floor]',
@pvtcol='Room',
@from='Rooms',
@defaults1='y',@rank='Room',@racheck='y',@shell='n'
Floor Room1 Room2 Room3 Room4 Room5 Room6
------- ----- ----- ----- ----- ----- -----
Floor 1 101 102 103 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 11:06 pm
Heh... that code never get's past the first 10000... keeps updating the first 10000 over and over and over.
Lemme build a test table, write a bit of code, and I'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 7:32 pm
bitbucket (12/4/2008)
And the gods of T-SQL preserve me
Pickle juice or formaldehyde? With or without pork chops? 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 7:23 pm
Sorry... I missed the fact that you were doing a count on the table... not returning rows... Got a PK or any decent indexes on the table?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 7:15 pm
I never import directly into the final target table... I always use a staging table. That way, I can do validity checks before the new data actually get's added.
If...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 7:12 pm
SELECT RIGHT(GETDATE(),7)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 7:07 pm
No chance of using indexes... it's gonna return the whole table. How many rows are in the table? Also, are you sure it's a table and not a...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 6:45 pm
I tried sending server health reports to developers, once. The response was, "I already get enough email... would you stop sending these to me?" 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 6:00 pm
fausto usme (12/4/2008)
Exactly, the rooms in this hospital are...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2008 at 5:54 pm
Viewing 15 posts - 46,786 through 46,800 (of 59,095 total)