Viewing 15 posts - 2,326 through 2,340 (of 8,416 total)
Craig,
I've spent a good bit of time looking at the script and the execution plans. There's a fair bit to say about them at face value, but I'm reluctant...
December 11, 2010 at 7:25 am
Which edition of SQL Server is this? Standard?
December 11, 2010 at 12:50 am
CELKO (12/10/2010)
LOL! You...
December 10, 2010 at 6:41 pm
JohnnyDBA (11/26/2010)
December 1, 2010 at 9:37 pm
GilaMonster (11/23/2010)
WayneS (11/23/2010)
November 23, 2010 at 2:40 pm
GilaMonster (11/23/2010)
http://www.sqlservercentral.com/Forums/Topic1024140-360-1.aspx
I suspect the developer who said those can't be optimised doesn't know the meaning of the word. Dynamic SQL and lots of NOLOCK to start...
November 23, 2010 at 3:25 am
David.Poole (11/23/2010)
I thought SWITCH only worked in Enterprise Edition?
One can only create partitioned tables on Enterprise, it's true, but ALTER TABLE...SWITCH works regardless of any partitioning.
All tables are partitioned (they...
November 23, 2010 at 2:21 am
Eralper (11/23/2010)
In the below example I used sql pad leading zeros function during id and seq.number concatenation
Why use a row-by-row T-SQL scalar function? There's also a horrible hidden cast...
November 23, 2010 at 12:49 am
DECLARE @ThisWouldHaveBeenHelpful
TABLE (
Id INTEGER NOT NULL,
Amount ...
November 22, 2010 at 11:14 pm
kay carey (11/22/2010)
Is it possible to retore a SQL 2008 R2 RTM database to SQL 2005 SP2?
No. Why do you need to do this? More information gets you...
November 22, 2010 at 10:53 pm
Since this is in the SQL Server 2008 forum, you could also use bulk-logged INSERT...SELECT then ALTER TABLE...SWITCH.
The technique is outlined in the Data Loading Performance Guide
It's the same basic...
November 22, 2010 at 10:51 pm
Sachin Nandanwar (11/22/2010)
But I think it is recommended that you take a Log backup before switching from FULL to BULK-LOGGED.
Yes, recommended but not essential. This maximizes the window where...
November 22, 2010 at 10:45 pm
Craig Farrell (11/19/2010)
November 19, 2010 at 5:37 pm
As written, the function does not work for UPDATE statements because the check constraint will only be evaluated if the column used in the parameter to the function is changed....
November 19, 2010 at 5:16 pm
Celko has the right idea, that's a much better design. Do that, if at all possible.
The materialized view Mike suggested is the usual 2005 workaround for the lack of...
November 19, 2010 at 5:06 pm
Viewing 15 posts - 2,326 through 2,340 (of 8,416 total)