Viewing 15 posts - 3,736 through 3,750 (of 5,590 total)
Ian,
The SQL Logs show each time that SQL started - you could parse that. And assuming a normal shutdown, that also is recorded, so you could parse the logs for...
August 3, 2010 at 7:08 am
tom 29037 (8/2/2010)
August 3, 2010 at 6:58 am
ColdCoffee (8/2/2010)
Also i remember a thread where RBarryYoung...
August 3, 2010 at 6:55 am
ColdCoffee (8/2/2010)
Be careful not all weeks of all locales start on Monday..
So, you just need to get @@datefirst, and adjust accordingly. Something like:
declare @DateFirst int
set @DateFirst = @@datefirst
SET DATEFIRST 1
--...
August 2, 2010 at 9:03 pm
diegocroitoru (8/2/2010)
Great response.
Do you mind elaborating more on the:
FOR XML PATH(''),TYPE
).value('.','VARCHAR(MAX)') , 1,1,SPACE(0)) AS Concat_Values
string of your...
August 2, 2010 at 3:53 pm
Lynn Pettis (8/2/2010)
I wish I could find one of those $150K/yr jobs, that would make my wife happy.
Sigh. Only until she gets used to it. Then I'll be looking for...
August 2, 2010 at 12:48 pm
Change the function to:
ALTER FUNCTION [dbo].[zfn_get_last_inv_Receipt]
(
@item_id as int,
@whs_code as varchar(8)
)
RETURNS smalldatetime
AS
BEGIN
DECLARE @last_receipt_date smalldatetime
then change how you're calling it by taking out the ", 0"
Edit: What you are doing is passing...
August 2, 2010 at 11:48 am
GilaMonster (8/2/2010)
Gianluca Sartori (8/2/2010)
What exactly are you americans doing at work that makes you worth all that money?
High cost of living.
My rate is about 1/5 of Wayne's. My income (in...
August 2, 2010 at 8:33 am
First, I created this code a little time ago to shred apart the xml of a deadlock graph.
declare @deadlock xml
set @deadlock = 'put deadlock graph here'
select
[PagelockObject] =...
August 1, 2010 at 5:51 pm
GilaMonster (7/31/2010)
And for the weekend...Want someone to email questions to: http://www.sqlservercentral.com/Forums/Topic961691-1550-1.aspx
Am outa here for the weekend.
I just had to submit my rates for this. 😀
Edit: Now, if I can just...
August 1, 2010 at 5:16 pm
$500/hr. 10hr/month minimum. 6month minimum. Paid in advance. Interested?
August 1, 2010 at 5:13 pm
Steve - it appears that we've found the issue.
I was going through our cluster setup document, ensuring that everything was set up properly.
When I got to the end where we...
August 1, 2010 at 4:59 pm
Okay, back to this issue.
When the cluster is running off of Node A (the normally active node), scheduled jobs run just fine.
When the cluster is running off of Node B...
July 28, 2010 at 7:10 am
G33kKahuna (7/25/2010)
Thanks Wayne, interesting query. I would just modify it to extract deadlock graph from the XDL file.
I have a version of this that will read the deadlock from a...
July 25, 2010 at 11:19 am
Viewing 15 posts - 3,736 through 3,750 (of 5,590 total)