Viewing 15 posts - 3,526 through 3,540 (of 9,643 total)
Yes, please post solution. Thanks,
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
December 21, 2009 at 1:41 pm
Also check out K. Brian Kelley's tips on MSSQLTIPS.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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!
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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,...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
December 21, 2009 at 12:49 pm
Ray K (12/21/2009)
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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. ...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
December 21, 2009 at 7:43 am
Jeff,
The OP specifically casts to datetime in the code provided so that's what I ran.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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:
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
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.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
December 18, 2009 at 4:19 pm
Viewing 15 posts - 3,526 through 3,540 (of 9,643 total)