Viewing 15 posts - 47,971 through 47,985 (of 49,552 total)
Can you double check that the notification services in the two DBs are set up the same? Same events, same schedules, same subscribers, etc.
I'm not that familiar with notification sevices,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 11:42 pm
I have a feeling that the error's coming from the sub query. Try changing to the following and see if your problem goes away.
SELECT
L.LOC_ID,
L.Location,
L.Phone,
L.DealerCode,
(FirstName +...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 11:33 pm
Enable traceflag 1204. That will write the deadlock graphs into the SQL error log. With the info in the graph, you should be able to locate the cause of the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 11:28 pm
Run sp_updateusage
Edit: Correction, that should be DBCC UPDATEUSAGE. Sorry
DBCC UPDATEUSAGE ('DB name','Table name');
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 12:57 pm
Is the DB set to autoclose?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 12:42 pm
Adam Haines (12/20/2007)
example:
SELECT mer_from_dttm fd,
column2 = DBO.FreqFortnightlyFunction('24-MAY-2006 2:40:00',...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 11:16 am
I'll try it out in 2005, see if the results are different.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 10:56 am
Lowry Kozlowski (12/20/2007)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 10:20 am
Is the DB set to autoclose? Is it offline?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 10:04 am
The script as written will find you the longest column name per table. Somehow, I don't think that's what you wanted.
If you want to find the length of the data...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 9:53 am
Please don't multi-post.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 9:50 am
Whatever you do, don't lie to them. If you get asked a question on an area you're not familiar with, tell them that you're not that familiar with it. If...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 9:46 am
Good to know. Thanks for that.
I tested with brackets or with quotes, not with both.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 9:45 am
Robert Brown (12/20/2007)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 9:37 am
SELECT Data_ID, DateTime, Batt_Vltg
FROM
tableName
WHERE
DateTime = DATEADD(hh,4,DATEADD(dd,DATEDIFF(dd,0,GETDATE()),0))
Doing conversions to Varchar to trim the time off a date is inefficient and CPU intensive.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
December 20, 2007 at 9:37 am
Viewing 15 posts - 47,971 through 47,985 (of 49,552 total)