Forum Replies Created

Viewing 15 posts - 3,736 through 3,750 (of 5,590 total)

  • RE: Tracking SQL Server restarts

    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...

  • RE: How to get these results?

    tom 29037 (8/2/2010)


    I have to admit that I don't quite get his explaination, but I also haven't got a chance to play with that code yet. I'll be using...

  • RE: How to get these results?

    ColdCoffee (8/2/2010)


    Wayne, awesome job in that explanation , mate! Thanks.. Hope the OP now and the other poster got what the code exactly does.

    Also i remember a thread where RBarryYoung...

  • RE: Group By WEEK

    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

    --...

  • RE: How to get these results?

    diegocroitoru (8/2/2010)


    SSC Eights,

    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...

  • RE: Are the posted questions getting worse?

    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...

  • RE: Calling a function that returns a smalldate time

    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...

  • RE: Are the posted questions getting worse?

    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...

  • RE: DeadLock - analysis, please help

    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] =...

  • RE: Are the posted questions getting worse?

    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...

  • RE: Online/Offline help

    $500/hr. 10hr/month minimum. 6month minimum. Paid in advance. Interested?

  • RE: What would keep scheduled jobs from running?

    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...

  • RE: What would keep scheduled jobs from running?

    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...

  • RE: SQL Server Ranking Functions

    Thanks Tom, I'm glad that you liked it.

  • RE: Deadlock graph help

    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...

Viewing 15 posts - 3,736 through 3,750 (of 5,590 total)