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,...
November 12, 2009 at 1:28 pm
UPDATE MyTable
SET [MyField] = SUBSTRING([MyField], CHARINDEX('/', [MyField])+1, 15)
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...
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...
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...
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...
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.
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?
November 12, 2009 at 6:43 am
Is it just the SQL Server service that is restarting or is the entire server rebooting?
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...
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...
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...
November 12, 2009 at 6:20 am
Sure the owner of the job does not exist on the new server.
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...
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.
November 11, 2009 at 7:58 am
Viewing 15 posts - 3,841 through 3,855 (of 9,643 total)