Viewing 15 posts - 1 through 15 (of 51 total)
Okay, I noticed the issue by comparing the databases.
The prod db had an index on a table. I'm curious as to why when this one little index is added, SQL...
August 13, 2013 at 11:41 am
Well I've been looking it over.
While I do have duplicate hardware, it wasn't certified for clustering. I also don't have a spare set of duplicate hardware to test the clustering....
July 8, 2013 at 12:46 pm
Oh, that's good advice with the Single vs Restricted. I've just always used Single and maybe once I had an oddity where I didn't have exclusivity.
May 30, 2013 at 1:28 pm
Bhaskar.Shetty (5/24/2013)
--- Create a InLine Function with ReportingDate Parameter --
CREATE FUNCTION fnMostRecentOrderDetail(@ReportingDate datetime) RETURNS TABLE
AS
RETURN
(
SELECT ProductId, SalesOrderDetailId, ModifiedDate,
ROW_NUMBER() OVER (PARTITION BY ProductId ORDER BY ModifiedDate DESC) RowNo
...
May 30, 2013 at 1:26 pm
Bhaskar.Shetty (5/24/2013)
How about this solutions...>>SQL Removed<<
Hmm, thank you. I hadn't quite thought of that as a third option to the Sub query and cross apply. In fact if I'd made...
May 24, 2013 at 9:12 am
Paul White (5/24/2013)
May 24, 2013 at 8:57 am
The First_Value/Last_Value sounds really promising, but I'm not quite getting it yet.
-- Method 1.5a
SELECT DISTINCT
Product.Name
,ReportDate = @ReportingDate
,MostRecentOrderDetailId...
May 23, 2013 at 1:28 pm
So the bug is that it's not showing the right SQL text?
But using sys.dm_exec_requests and sys.dm_exec_sessions rather than sys.dm_exec_query_stats to get session level data... is that the intention of LongRunningQueries...
May 1, 2013 at 10:51 am
I'm not sure that LongRunningQueries is finding long running queries.
It seems like it's finding long sessions.
Every night I run a job that runs a sp that runs a dozen...
May 1, 2013 at 9:47 am
gazzer (4/19/2013)
Namely
LongRunningJobsAlert
I get the following error message
'Procedure usp_JobStats has no parameters and arguments were supplied'
Had a look at...
April 19, 2013 at 9:42 am
File Stats - Last 24 Hours...
I'll look into it, but only the Filename and IO% are populated on my daily health report. Everything else is all 0's.
April 17, 2013 at 11:41 am
michaelrounds (4/16/2013)
What's not working with the long running jobs? Are you getting an error?
Ahh, it "was":
Message
Executed as user: NT SERVICE\SQLAgent$WEEKLY. Procedure usp_JobStats has no parameters and arguments were supplied. [SQLSTATE...
April 16, 2013 at 3:45 pm
Looks like everything but the longest running jobs are working. I got my first daily health check email.
My only feedback for what I'm seeing so far is that it would...
April 16, 2013 at 11:11 am
michaelrounds (4/15/2013)
I've seen errors like that when I try to run the script more than once in a single query window. There is something funky going on with how the...
April 15, 2013 at 5:11 pm
This looks very great, but it doesn't seem to work on my systems.
@@Version
Microsoft SQL Server 2012 - 11.0.2100.60 (X64)
Feb 10 2012 19:39:15
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on...
April 15, 2013 at 3:51 pm
Viewing 15 posts - 1 through 15 (of 51 total)