Viewing 15 posts - 3,121 through 3,135 (of 8,416 total)
Imran Ashraf-452633 (6/14/2010)
June 14, 2010 at 5:05 am
Nils Gustav Stråbø (6/14/2010)
...I just tested it on our development server, and there is no performance penalty if the table does not have a timestamp when CHANGE_TRACKING=AUTO...
Thanks for taking the...
June 14, 2010 at 4:52 am
Eugene Elutin (6/14/2010)
What is a problem with non-SARGable query?
Interesting question.
By definition, SARGable means an index seek could be used. The key word there is 'could': a SARGable predicate gives...
June 14, 2010 at 4:50 am
There is a 'workaround' on the related Connect item:
I haven't tested that because I cannot replicate the problem. I am running SQL Server 2008 and 2005 on the same...
June 14, 2010 at 3:09 am
Nils Gustav Stråbø (6/13/2010)
June 14, 2010 at 1:42 am
A trigger fires once per statement, not once per row.
The trigger code provided does not account for multi-row changes (more than one row in the inserted/deleted pseudo-tables).
Either prevent multi-row operations...
June 13, 2010 at 5:32 am
Lowell (6/12/2010)
why back it up? at the moment of creation it is an empty copy of model.
One motivation might be to take the log out of auto-truncate mode (assuming model...
June 13, 2010 at 5:28 am
With change tracking set to auto, SQL Server takes care of maintaining the full-text index for you. There is no need (or point) in writing a user trigger, and...
June 13, 2010 at 5:25 am
scott.pletcher (6/11/2010)
For max variance only though. I believe it is still possible to find the NextMonth before getting additional specs.
It might be - to be honest I can't be...
June 11, 2010 at 7:00 pm
scott.pletcher (6/11/2010)
Will need the original requestor to spell out specific rules on that to be truly accurate, since many variations are possible.
:laugh: I think that's kinda been the point since...
June 11, 2010 at 3:51 pm
sgalbra (6/11/2010)
You can be a pesky Kiwi.
:laugh: !!!
Pesky?! I kinda like that.
I can't fix the other statement I don't think because it has columns in both sides of the...
June 11, 2010 at 3:48 pm
sgalbra (6/11/2010)
June 11, 2010 at 3:36 pm
sgalbra (6/11/2010)
June 11, 2010 at 3:28 pm
sgalbra (6/10/2010)
Thanks for pointing out the inefficient SQL code. I copied the statement from another place in the code and replaced a column with GETDATE().
So it needs fixing more...
June 11, 2010 at 12:59 am
Another way is to use dynamic SQL (for example if the excluded column is determined by a computation).
Example:
CREATE TABLE dbo.Test
(
...
June 10, 2010 at 3:42 am
Viewing 15 posts - 3,121 through 3,135 (of 8,416 total)