Viewing 15 posts - 46 through 60 (of 63 total)
Awesome move on SQLServerCentral's part - outstanding!
The book on Windowing functions is a must-read!
December 10, 2013 at 9:49 am
I'm not clear if this will allow for searches within SSIS packages?
October 18, 2012 at 6:31 am
Gail,
'Prod' system for Finance what-if scenarios - which we rebuild every morning from the previous day's 'true' prod.
They run all kinds of queries against the old data - so...
August 20, 2012 at 9:24 am
John,
I need the File_ID to pass to DBCC SHRINKFILE - but I'm all ears in terms of suggestions.
SELECT @Log = FILE_ID,
@DB = Name
FROM sys.database_files
WHERE type_desc = ''Log'';
DBCC SHRINKFILE( @Log, TRUNCATEONLY...
August 20, 2012 at 5:47 am
Ok - so I threw together below - which works around it. It seems like the Is_Read_Only setting is a "bug" depending upon where you look?
DECLARE
@LogSMALLINT,
@DBSYSNAME,
@Is_Read_OnlyBIT,
@FalseBIT= 0;
SELECT
@Is_Read_Only = SD.is_read_only,
@Log =...
August 20, 2012 at 5:44 am
Donalith - I disagree - usually the second I create the index they are used an not 'resuggested.'
I'm going to reboot, run
DBCC dbreindex ([tblInvoices])
UPDATE STATISTICS [tblInvoices] WITH FULLSCAN
And see what...
August 8, 2012 at 12:21 pm
Gazareth - no - it didn't - that was the source of my post 😉
August 8, 2012 at 12:16 pm
Why do you have MAXDOP set to 1?
Doug
July 9, 2012 at 1:23 pm
Spot on Jared - that was exactly what I had come up with - here's a snippet ( This was to handle the delete case, remember, the Insert and Update...
July 5, 2012 at 2:57 pm
Ravi,
I was saying specifically through the MERGE statement, where you just DELETE.
Thanks buddy,
Doug
July 5, 2012 at 1:53 pm
Brandie,
Do you have a short example?
Thanks for the assist,
Doug
July 5, 2012 at 1:51 pm
Jared,
I was saying specifically through the MERGE statement, where you just DELETE.
Thanks for giving it a shot,
Doug
July 5, 2012 at 1:50 pm
Lynn,
That rocked! - How obscure!
That knocked 10 seconds off of a crucial SQL which was seeing DEADLOCKs.
Thanks so much,
Doug
March 28, 2012 at 2:53 pm
Most excellent response.
Doug
December 1, 2011 at 2:22 pm
Jason,
That worked perfectly - it seems more syntactically complete than my solution, even though they perf out 50/50 in plan comparison.
Doug
November 18, 2011 at 11:24 am
Viewing 15 posts - 46 through 60 (of 63 total)