Viewing 15 posts - 4,246 through 4,260 (of 7,636 total)
How long does this command take?
select *
Into #temp
from [Audit]
where CreatedWhen between GetYear() and GetYear()-365
December 23, 2008 at 7:34 pm
You might want to contact the Microsoft SQL Customer Advisory Team. Their website is here: http://sqlcat.com/
December 23, 2008 at 7:04 pm
Please post the query plan also.
December 23, 2008 at 4:35 pm
Jeff Moden (12/23/2008)
Can you say "Matrix" boys and girls?
Sure, they've all seen that movie. 🙂
December 23, 2008 at 4:11 pm
Actually, this is something that many of my clients have asked me to do: participate as a technical interviewer in their engagement of prospective employees.
December 23, 2008 at 3:51 pm
Sorry I forgot two of the statistics:
Physical disk: Disk bytes/sec
Physical disk: Disk transfers/sec
If you could also get these numbers from times when the performance is OK,...
December 23, 2008 at 3:40 pm
fssherwani (12/23/2008)
I will reply to David's and Young's queries...
Well you didn't really answer most of my questions...
The Physical disk:Avg Sec/write counter is high on drive where tlog files reside.
The MS...
December 23, 2008 at 3:32 pm
David Kingman (12/23/2008)
I am getting 'RANK' is not a recognized function name.
Ah. Let me guess: you are running on SQL Server 2000? (or else your DB compatibility level is...
December 23, 2008 at 3:21 pm
You should worry about your Log file before you add a second data file.
December 23, 2008 at 2:13 pm
What is your disk configuration? How are your user and TempDB data and log files allocated to these disks?
What are your PerfMon Physical disk statistics during this problem? ...
December 23, 2008 at 2:07 pm
Glad we could help. Be sure to let us know how it works out.
December 23, 2008 at 1:37 pm
In that case, this may serve you better:
ALTER PROCEDURE [dbo].[sp_ProfitStar] @date datetime AS
SET NOCOUNT ON;
Declare @DayBegin datetime, @DayNext as datetime
Select @DayBegin = DateAdd(dd, DateDiff(dd, 0,...
December 23, 2008 at 1:32 pm
Well, it seemed like the dynamic SQL and all of these conversions back and forth were unnecessary so I did without them. Anyway, this is how I would do...
December 23, 2008 at 11:13 am
Why are all of these dates being converted to VARCHAR and then back to DATETIME again? Does this accomplish anything?
December 23, 2008 at 10:57 am
Viewing 15 posts - 4,246 through 4,260 (of 7,636 total)