Viewing 15 posts - 3,526 through 3,540 (of 9,643 total)
Yes, please post solution. Thanks,
December 21, 2009 at 1:59 pm
Yup, that's the old-style join syntax. I'd recommend converting it to the ANSI join syntax for readability.
December 21, 2009 at 1:45 pm
Oops my bad, I saw interpreted the underscore in the second table name as a period and thought I saw 4-part naming.
Can you post execution plans (graphical)? That will...
December 21, 2009 at 1:41 pm
December 21, 2009 at 1:11 pm
Ah, I always forget about those odd ball time zones. Just like the one in Indiana that doesn't do DST. Good catch!
December 21, 2009 at 1:08 pm
Looks like you are using a linked server. Are the summed columns on the linked server table? If so, I;d recommend doing this a bit differently so that...
December 21, 2009 at 1:06 pm
Happens all the time, no worries.
YOu could use the second suggestion, have a GMT offset column that is tinyint. So if your offset is 5 (EST) you'd do DateAdd(hour,...
December 21, 2009 at 12:49 pm
Ray K (12/21/2009)
December 21, 2009 at 8:05 am
Is it the database file or the log file that is growing out of control?
What is the recovery model of the database?
What is happening in the database when...
December 21, 2009 at 8:03 am
I don't think you want to put the criteria in the WHERE clause because that will likely cause the Optimizer to see the LEFT JOIN as and INNER JOIN. ...
December 21, 2009 at 7:50 am
Assuming you are using SQL Server 2008 since this is 2008 forum, have you looked at the DateTimeOffset data type? You could use it or you could store the offset...
December 21, 2009 at 7:43 am
Jeff,
The OP specifically casts to datetime in the code provided so that's what I ran.
December 18, 2009 at 5:22 pm
Execution Plans would help here and full table schemas (including indexes), without this information any suggestions like the one I'm about to make will just be shots in the dark...
December 18, 2009 at 4:27 pm
No problem. Of course I was an idiot and didn't completely read Andrew's post until after I had re-written the whole thing EXACTLY as he had :crying:
December 18, 2009 at 4:21 pm
I believe you need to run setup from the command line with the SKUUPGRADE = 1 parameter. See this blog post.
December 18, 2009 at 4:19 pm
Viewing 15 posts - 3,526 through 3,540 (of 9,643 total)