• Jeff Moden (11/4/2010)


    Craig Farrell (11/3/2010)


    It manipulates DATEFIRST and you might botch something up on your real servers if you run it.

    Setting DATEFIRST in a query only affects the session, not the entire server... which is also why I don't understand why people are afraid to write queries that rely on a particular @@DATEFIRST query.

    Yeaaah, got called on that one already up above. :hehe: I was a bit over-exuberant in making sure some poor soul didn't start mucking himself up with my code.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA