Viewing 15 posts - 48,631 through 48,645 (of 59,095 total)
Sergiy is correct... the "table" can't be defragged without a clustered index.
Now, with that in mind, you will, unfortunately, need a loop of some sort to get throgh all of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 4:11 pm
I guess a better question would be, how did the double quotes get there in the first place? Did you import some text-qualified CSV or something? If so,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 4:03 pm
Heh... thanks for the plug, BitBucket!
A way kind of backwards from Cross Tabs is shown in the following article...
http://www.sqlservercentral.com/articles/Test+Data/61572/
The method would allow you to concatenate all the stakeholders into a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 3:59 pm
rbarryyoung (8/24/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 3:36 pm
Sagar (8/24/2008)
Thanks Everybody...Sagar
You're welcome... but if you post the CREATE TABLE and data that I suggested, you might even get a tested example to play with... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 3:27 pm
John R. Hanson (8/21/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 3:21 pm
Heh... the thing I absolutely "love" about the idea of ANSI standards is... if we all do it their way, there will be no need for competition amongst the makers...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 3:11 pm
Heh... stop and look at it this way... you didn't get that old being stupid and employers who want some real talent in their ranks are beginning to realize that...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:33 am
Sagar (8/24/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 11:23 am
arjun.tewari (8/22/2008)
and its never about working or not working, everyone posting a solution will work but its always about finding a solution which IS MOST PERFORMANT.
Hey guys... Arjun is trying...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 10:00 am
Heh... I'm a little biased... please see the following articles on the subject of Tally tables and splits...
http://www.sqlservercentral.com/articles/TSQL/62867/
http://www.sqlservercentral.com/articles/T-SQL/63003/
For the problem at hand, the following works just fine...
First, create the Tally...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 9:43 am
Sagar (8/23/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 9:16 am
It sounds like they don't really know databases at all because they don't really understand that SQL is not SQL and that taking care of the servers for different RDBMS's...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 8:51 am
Very cool feedback, Rog. Thanks.
You better believe that even a simple subquery is beyond many users. I hope you understand where I'm coming from. How to make this stuff...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 8:45 am
dphillips (8/20/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 23, 2008 at 6:20 pm
Viewing 15 posts - 48,631 through 48,645 (of 59,095 total)