Viewing 15 posts - 48,631 through 48,645 (of 59,099 total)
Sai,
Once you get the intial archive done, how many rows would need to be archived on a daily basis? Also, please post the CREATE TABLE statement for the table...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 4:41 pm
nag.netjob (8/22/2008)
Hi,I have a column with datatype nvarchar and it contain some sample data
like:
001
12
112
123
M6921C0014
M6932A0034
M69800034
VALP054
VALP075
VALP086
Now my question is how i achieve sorting on above column?
Based on the title of this thread,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 4:39 pm
I agree... indexes won't fix the problems associated with accidental cross joins, triangular joins, or the RBAR associated with Cursors and/or While loops especially those in a UDF. Some...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 4:32 pm
By the way... DBCC IndexDefrag will allow the indexes to still be used while the index is in the process of defragging where DBCC DBReIndex will not. The big...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 24, 2008 at 4:15 pm
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
Viewing 15 posts - 48,631 through 48,645 (of 59,099 total)