Viewing 15 posts - 18,976 through 18,990 (of 59,072 total)
@aaron.reese,
You have these 4 fields that contain hierarchical pipe delimited data and you've realized that's not the best structure for querying (it's called a "Hierarchical Path" or "Sort Path").
The question...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 6:23 pm
Luis Cazares (12/11/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 6:14 pm
Welsh Corgi (12/11/2015)
Is rebuilding Indexes the best alternative after archiving a lot of data or is there a better alternative?
If the archiving is being done based on a date column,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 5:44 pm
koti.raavi (12/12/2015)
drop table #cad
/*GETTING THE REQUIRED MONTHS FOR PERFORMING THE FURTHER CALCULATIONS*/
SELECT [FINALEID],ResourceHome,[ROLLOFFDATE] ,PROJECT,CLIENT,ENGAGEMENT,WBSE
INTO #CAD
FROM CRD
ORDER...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 5:29 pm
Welsh Corgi (12/12/2015)
pietlinden (12/12/2015)
I would check Paul Randal's blog for some ideas. Maybe start here: Troubleshooting Transaction Log Growth[/url]I tried it but no success.
Very specifically, what did you try...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 5:24 pm
Someone is going to have to rewrite the proc to use iTVFs instead of scalar functions. It's the only way other than using something like a Temp Table to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 5:22 pm
ChrisM@Work (12/10/2015)
Jeff Moden (12/9/2015)
ChrisM@Work (12/9/2015)
suvesh.sonker 2691 (12/9/2015)
-- Ten digitDeclare @field as varchar(20) = '559'
Select Replace(right(replicate(' ',10) + @field ,10),' ','0')
In what circumstances might this be preferable to the simpler SELECT...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2015 at 8:22 am
Larry.Hennig (12/11/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 9:28 pm
Ok... I realize that this is an older thread but people are still posting PIVOTs to do this and that's going to be slower than a good CROSSTAB. The...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 8:58 pm
Larry.Hennig (12/11/2015)
Columnar output that is row-ordered is difficult to read,
I absolutely agree with that but only if such order is confined to individual pages. Just for grins, try...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 7:26 pm
seebert42 (12/11/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 5:58 pm
steven.bingham (7/18/2014)
must admit that I found the solution a bit over complex and it was making
my head hurt...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 5:56 pm
zerbit (7/18/2014)
You requirement was to print 3 lots at a time per line of document. This...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 5:46 pm
fregatepllada (7/17/2014)
Thanks Luis, I hate to bring another dimension to performance test but I am using TABLE variable, not temporary table. 😉
Where's that code? I'll add it to the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 5:39 pm
fregatepllada (7/17/2014)
IFAIK PIVOT became part of built-in SQL Server functionality since SQL Server 2005....
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2015 at 5:37 pm
Viewing 15 posts - 18,976 through 18,990 (of 59,072 total)