Forum Replies Created

Viewing 15 posts - 13,876 through 13,890 (of 19,560 total)

  • RE: Get User Name from suser_name() and host_name()

    david.c.holley (5/20/2010)


    SELECT REPLACE(SUSER_NAME(), HOST_NAME() + '\','') as userId

    I need to pull out the user name from the fully qualified name ([domain name]/). The statement above isn't working as it...

    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: script for multiple jobs in sql2000

    Greg Charles (5/20/2010)


    If you're using Enterprise Manager, expand server, Management, SQL Server Agent, right-click on Jobs, select All Tasks, select Generate SQL Script...

    If you're using SQL Server Management Studio, expand...

    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: No Lock explatation

    Grant Fritchey (5/20/2010)


    Just understand, in a pretty healthy majority of circumstances, using NOLOCK is a bad idea and can lead to problems.

    There are rare occasions where it may be acceptable...

    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: TemDB Size Monitoring

    Here is another option.

    http://www.sqlservercentral.com/articles/Log+growth/69476/

    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: Insert with OUTPUT clause

    Thanks - nice question.

    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: Backup\ Restore completion Status.

    Nice question.

    Thanks

    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: SSMS Features

    Nice QOTD Ron.

    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: Today's Random Word!

    Paul White NZ (5/20/2010)


    Trey Staker (5/20/2010)


    btw -- I REALLY liked your comments in that discussion.

    Me and Gianluca standing up for what's right!!! LOL

    Wait until Jeff sees that thread...he does...

    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: Use Dynamic SQL to Improve Query Performance

    Jeff Gray (5/20/2010)


    The author did a fine job discussing the different approaches. The article shows once again that never and always are both almost always never the correct answer.

    I...

    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: Use Dynamic SQL to Improve Query Performance

    Gianluca Sartori (5/20/2010)


    Brett Robson (5/20/2010)


    I don't see why you guys are promotiing the use of dynamic SQL. I'm often asked in job interviews when it's appropriate to use dynamic SQL...

    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: Today's Random Word!

    Paul White NZ (5/20/2010)


    I see now - you guys are way ahead of me tonight.

    Trying to do too many things at once, and failing to do any of them well!

    I...

    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: Use Dynamic SQL to Improve Query Performance

    Atif Sheikh (5/20/2010)


    Dynamic SQL is the last thing to do.

    Sometimes Dynamic SQL is quite useful. There are alternatives to using case statements or dynamic sql (such as child...

    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: Today's Random Word!

    Chris Morris-439714 (5/20/2010)


    CirquedeSQLeil (5/20/2010)


    Is the paint tin blue paint or pink paint?

    LMAO!

    Shhhh...It's Pure Brilliant White!

    HAHA - glad you caught that 😀

    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: Today's Random Word!

    Paul White NZ (5/20/2010)


    CirquedeSQLeil (5/20/2010)


    Paul White NZ (5/20/2010)


    Chris Morris-439714 (5/20/2010)


    Paul White NZ (5/20/2010)


    Chris Morris-439714 (5/20/2010)


    Paul White NZ (5/20/2010)


    Dynamic SQL - versus - not very dynamic DBAs.

    Hey Chris, what's with the...

    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: Clearing Missing index usage

    nadersam (5/20/2010)


    Thanks for all replies.

    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

Viewing 15 posts - 13,876 through 13,890 (of 19,560 total)