Viewing 15 posts - 3,841 through 3,855 (of 9,643 total)
Alvin Ramard (11/12/2009)
Lynn Pettis (11/12/2009)
Alvin Ramard (11/12/2009)
AVG is not interchangeable with SUM. Was that written on the day the coffee pot ran dry?
AVG*COUNT might be interchangeable with SUM,...
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
November 12, 2009 at 1:28 pm
UPDATE MyTable
SET [MyField] = SUBSTRING([MyField], CHARINDEX('/', [MyField])+1, 15)
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
November 12, 2009 at 9:53 am
Well, the windows error log is available using the event viewer. Start -> All Programs -> Administrative Tools -> Event Viewer.
The SQL Server error logs can be found in...
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
November 12, 2009 at 9:51 am
I should have noticed this at first look. The slow plan has created a plan using parallelism which actually could be the source of the problem. In a...
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
November 12, 2009 at 9:23 am
Since you are dumping this data into a report table, why not do the grouping on a smaller level say weekly or monthly and store that data? Then 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
November 12, 2009 at 8:30 am
Yes, SQL Server does base it's execution plans on the data, not the schema. SQL Server keeps statistics for the distribution of data in the tables and uses the...
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
November 12, 2009 at 8:22 am
Nabha has the right idea. You need to have a Use DB2 GO in order to change the database context.
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
November 12, 2009 at 6:54 am
I think you need your @COuntSQLQUery to be this: "Select @recordcount = count(*) from dbo.table1"
The question now becomes, why are you using dynamic sql for this?
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
November 12, 2009 at 6:43 am
Is it just the SQL Server service that is restarting or is the entire server rebooting?
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
November 12, 2009 at 6:40 am
I'm not sure what you are asking. Do you want to find the time you took the tail log backup or do you want to add a timestamp to...
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
November 12, 2009 at 6:38 am
Since you posted in a 2000 forum I'm going to suggest that you use 2 steps to solve the problem.
Step 1 - using a table variable or temp table load...
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
November 12, 2009 at 6:36 am
I would just remove SalesRep from the DesignLogo table and create an intersection table (I like to call them glue tables) with DesignNumber and SalesRepNumber, unless you have more information...
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
November 12, 2009 at 6:20 am
Sure the owner of the job does not exist on the new server.
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
November 11, 2009 at 1:12 pm
You can't always trust all that DTA suggests. I'd be careful. If you are creating indexes and you have no complaints about performance I'd stay with what you've...
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
November 11, 2009 at 9:58 am
I'd still consider doing a server-side trace limited to that database. I think that it will have less impact than a trigger.
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
November 11, 2009 at 7:58 am
Viewing 15 posts - 3,841 through 3,855 (of 9,643 total)