Viewing 15 posts - 361 through 375 (of 428 total)
tommyh (8/6/2012)
August 7, 2012 at 7:21 am
I mostly use CTE's to generate a specific number of ordered rows.
This is something I would need for example when:
I want to return a row for every day within a...
August 6, 2012 at 8:10 am
I believe the job history information in MSDB is only updated upon completion of the job.
To see jobs that are currently executing, you need to execute the sp_help_job system stored...
August 6, 2012 at 8:01 am
Thanks for the question Hugo!
I had to research the XML indexes again... not something I use.
August 6, 2012 at 6:56 am
Interesting thread.
Combining my favorite parts from all replies I think I would now do something like this:
DECLARE @Number Decimal(10,2)
SET @Number = 12345678.90
DECLARE @Number_String VarChar(25)
SET @Number_String = Convert(VarChar(25), @Number)
;WITH
T1 AS...
August 3, 2012 at 9:06 am
If I recall correctly, most of the enhancements pertained to SSAS and SSRS. I believe the database engine related stuff consisted of a few added features that would be...
August 3, 2012 at 7:42 am
How is this for a novel approach?
DECLARE @Number Float
SET @Number = 1234.56
-- Create a string version of the number
DECLARE @Number_String VarChar(250)
SET @Number_String = CONVERT(VarChar(250), @Number);
-- Create a...
August 3, 2012 at 7:33 am
If it's loaded all at once from an import process and truncated afterwards, then a PK probably would only add extra overhead when loading. I'd only add indexes if...
August 3, 2012 at 7:12 am
Too bad about the string length issue, as it was a really good question otherwise.
August 3, 2012 at 7:01 am
There shouldn't be any need to shrink the log file while doing the inserts. This just adds extra overhead as the log has to auto-grow back out as records...
August 1, 2012 at 2:09 pm
SSIS isn't really cluster aware. There's a work around using the config files to set it up on each node of the cluster so that it sees packages from...
August 1, 2012 at 8:21 am
L' Eomot Inversé (8/1/2012)
Where (if anywhere) is it dosumented how that flag-byte 7 behaves? Nowhere, so the question...
August 1, 2012 at 7:52 am
GilaMonster (7/31/2012)
sestell1 (7/31/2012)
Setting the database to SIMPLE recovery model will minimize the amount of logging done
Won't help here. Updates are fully logged in all recovery models. A single update uses...
July 31, 2012 at 2:24 pm
Is this a one time thing?
You could do a full backup, change your recovery model for the database to SIMPLE, do your updates, change recovery back to full, do another...
July 31, 2012 at 1:48 pm
Viewing 15 posts - 361 through 375 (of 428 total)