Today's Random Word!

  • mbricker-600840 (3/16/2010)


    Marguerita (too bad it's too early).

    I used to work for a company that had a frozen marguerita machine in the kitchen.

    Every afternoon, we would fire it up so it would be ready by 5. Ahhhhh, the good old days before

    someone realized there was a liability issue.

    Mike

    It's 5 o'clock some where!

  • Steve Jones - Editor (3/15/2010)


    baseball.

    Registered for the new team and got a picture in the mail from Mom

    You should post this in the baseball thread!

    +--------------------------------------------------------------------------------------+
    Check out my blog at https://pianorayk.wordpress.com/

  • mbricker-600840 (3/16/2010)


    I used to work for a company that had a frozen marguerita machine in the kitchen

    Why would anyone freeze a marguerita machine? πŸ˜› :w00t:

  • Paul White (3/16/2010)


    mbricker-600840 (3/16/2010)


    I used to work for a company that had a frozen marguerita machine in the kitchen

    Why would anyone freeze a marguerita machine? πŸ˜› :w00t:

    It fooled the hippo?

    β€œWrite the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden

  • Chris Morris-439714 (3/16/2010)


    It fooled the hippo?

    Disturbing...:hehe:

  • Yep, #7, many moons ago.

  • Steve Jones - Editor (3/16/2010)


    Yep, #7, many moons ago.

    Same guy - very different shirt :laugh:

  • Paul White (3/16/2010)


    Steve Jones - Editor (3/16/2010)


    Yep, #7, many moons ago.

    Same guy - very different shirt :laugh:

    Resemblance is astounding.

    As for the shirt, I am sure we can find somebody to fix that. Plenty of paintshop wizards lurking about.

    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

  • Pain.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • CirquedeSQLeil (3/15/2010)


    Jeff Moden (3/15/2010)


    Lynn Pettis (3/14/2010)


    snowshoes

    One Post. πŸ˜‰

    yeah, he's holding out on us now. He retreated to the tent knowing he was at 9999.

    I wanted the 10,000th post to be one where I at least tried to help someone solve a problem. Turned out I ended up rewriting my own routine to use ALTER USER instead of sp_change_user_login (thanks Paul).

  • Lynn Pettis (3/16/2010)


    Turned out I ended up rewriting my own routine to use ALTER USER instead of sp_change_user_login (thanks Paul).

    LOL. You should have edited your previous post instead and saved the 10,000 for something!

    Only 240-ish posts until you hit 10K posts πŸ˜‰

  • Paul White (3/16/2010)


    Lynn Pettis (3/16/2010)


    Turned out I ended up rewriting my own routine to use ALTER USER instead of sp_change_user_login (thanks Paul).

    LOL. You should have edited your previous post instead and saved the 10,000 for something!

    Only 240-ish posts until you hit 10K posts πŸ˜‰

    I think my 10,000 post was okay. It wasn't a "water-cooler" post, and and it encouraged a rewrite of a routine that will be in production for (hopefully) a long time.

    The only problem was the time it took to rewrite dynamic sql to write dynamic sql. Getting all the single quotes (') right is a RPITB, but once done, it's done.

  • Lynn Pettis (3/16/2010)


    The only problem was the time it took to rewrite dynamic sql. Getting all the single quotes (') right is a RPITB, but once done, it's done.

    I must confess I usually use a CURSOR for that type of thing. Performance is never an issue; my time is πŸ˜‰

  • Paul White (3/16/2010)


    Lynn Pettis (3/16/2010)


    The only problem was the time it took to rewrite dynamic sql. Getting all the single quotes (') right is a RPITB, but once done, it's done.

    I must confess I usually use a CURSOR for that type of thing. Performance is never an issue; my time is πŸ˜‰

    As often as I write cursors, it probably would have taken just as long.

    You also could say performance here is an issue as this routine resync's SQL Server logins when we have a mirror failover. We may not have a lot of logins to resync, but you never know if that may change in the future.

  • Lynn Pettis (3/16/2010)


    As often as I write cursors, it probably would have taken just as long.

    I see. I write a fair number of cursors, usually for drip-feeding semi-bulk data changes into busy production systems, so it would take about a minute, I reckon.

Viewing 15 posts - 736 through 750 (of 21,190 total)

You must be logged in to reply to this topic. Login to reply