Forum Replies Created

Viewing 15 posts - 15,331 through 15,345 (of 19,560 total)

  • RE: how to get login's ip address?

    Interesting Query. I like what you have done with it.

    Here is something that should work for you.

    SELECT

    I.NTUserName,

    I.loginname,

    I.SessionLoginName,

    I.databasename,

    Min(I.StartTime) as first_used,

    Max(I.StartTime) as last_used,

    S.principal_id,

    S.sid,

    S.type_desc,

    S.name

    ,EC.client_net_address

    FROM

    sys.traces T CROSS Apply

    ...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: how to get login's ip address?

    GregoryF (4/5/2010)


    declare @IPAddress as varchar(15)

    declare @data XML

    set @data = EVENTDATA()

    set @IPAddress = @data.value('(/EVENT_INSTANCE/ClientHost)[1]', 'nvarchar(15)')

    This is the method that I recommended on the other post on the same topic - but...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: how to get login's ip address?

    I didn't see that this question was a duplicate post.

    Here is the other version of this question.

    http://www.sqlservercentral.com/Forums/Topic896983-146-1.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Why mssqlsystemresource involved in Dead locks

    Do you know the query that is being executed by the proc sp_executesql?

    That proc is really what is being deadlocked. That proc is held inside the resource database and...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Downgrade Compatibility level from 90 to 80

    You're welcome.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Adding zero's to int

    You will need to convert these to strings (varchar) in order to place a 0 in front of or behind an int.

    To append or prepend the number with 0's, you...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: BI Certification

    I would go with this one as well.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: About 70-450 Exam

    thinknight (3/19/2010)


    Hi All,

    On Tuesday I passed 70-450 by studying Microsoft SQL Server 2008 Administrator's Pocket Consultant. It is the best choice.

    Now i am preparing to 70-433.

    Regards

    Congrats.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Options for dealing with table Contention

    Sounds like a good plan.

    Good luck to you and Fred.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: MCJ - The Missing Link

    I think another important thing that needs to be done with this information is to disseminate it.

    dma-669038 has taken the idea to her UG. I think following that example...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: The Missing Certification

    WayneS (4/5/2010)


    CirquedeSQLeil (4/5/2010)


    How about we move on to a new topic?

    I think the next viable topic would be to hash out how the review board should be handled.

    So, how will...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: MCJ - The Missing Link

    Something from the old thread that should be ported over.

    WayneS (4/5/2010)


    CirquedeSQLeil (4/5/2010)


    How about we move on to a new topic?

    I think the next viable topic would be to hash out...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: The Missing Certification

    I have started a new thread on this topic.

    http://www.sqlservercentral.com/Forums/Topic897076-10-1.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: 70-448 Certification - Am I mad?

    Have you taken any other certifications?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: The Missing Certification

    dma-669038 (4/5/2010)


    ...what i heard from my UG..some people who are managers said pretty emphatically that they would simply not hire an individual with only 1.5 years of expeirence to show...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 15 posts - 15,331 through 15,345 (of 19,560 total)