Viewing 15 posts - 2,596 through 2,610 (of 9,643 total)
Try using CHAR(9) instead of using a TAB from the Keyboard, like Doug suggested a few posts earlier.
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
January 5, 2011 at 8:07 am
I didn't spend anytime looking at your data types, but now that I have I do have some suggestions.
1. If the column contains dates then it should be one...
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
January 4, 2011 at 12:35 pm
Just add that to the Where Clause.
SELECT
CHARINDEX(RTRIM(B.Words), U.url),
*
FROM
#urltbl U
CROSS JOIN #Badwords AS B
WHERE
...
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
January 3, 2011 at 3:17 pm
Brandie Tarvin (1/3/2011)
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
January 3, 2011 at 11:53 am
Craig Farrell (1/3/2011)
Happy...
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
January 3, 2011 at 11:36 am
Happy New Year all! Hope none of you had to work over the holiday weekend.
Gus, congrats on 10K. Shows some perseverance. A year ago I thought I'd...
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
January 3, 2011 at 7:08 am
I recommend doing the aggregation in the query, if possible. I'm sure some of the problem is the aggregation.
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 31, 2010 at 10:09 am
We need the tables structures (including indexes), the query, and the execution plan in order to give any more advice.
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 31, 2010 at 8:55 am
GilaMonster (12/30/2010)
Take each recommendation. Test it. See if it improves the report and does not degrade...
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 30, 2010 at 12:27 pm
LutzM (12/30/2010)
LutzM (12/30/2010)
Jack Corbett (12/29/2010)
I'd bet the SafetyCheck is in the discussion of Jeff's article which I linked to in my original post....
Nope, not in the version I checked (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 30, 2010 at 9:42 am
Without knowing the structure of the tables and the query it is hard to offer accurate advice.
How long does it take for the query to run in SSMS...
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 30, 2010 at 7:54 am
I'd bet the SafetyCheck is in the discussion of Jeff's article which I linked to in my original post.
It is definitely easier to find something if you know what you...
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 29, 2010 at 7:02 pm
What type of mirroring are you using? High Availability, High Protection, or High Performance?
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 29, 2010 at 6:24 pm
Are you updating statistics and doing index maintenance on the database in question? You could have a bad plan in cache because the distribution of data has changed. ...
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 29, 2010 at 6:07 pm
in addition to Gail's and Grant's advice I'd suggest getting Adam Machanic's sp_WhoIsActive which will also give you the query text.
You can get the query text yourself using sys.dm_exec_sql_text().
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 29, 2010 at 5:47 pm
Viewing 15 posts - 2,596 through 2,610 (of 9,643 total)