• Koen Verbeeck (8/11/2013)


    Jeff Moden (8/9/2013)


    techmarimuthu (8/9/2013)


    Difference between CAST and Convert functions in SQL SERVER??

    My recommendation would be to get into SSMS and press the {f1} key. There's a whole lot of good information on this very subject in Books Online.

    The page you get when you press F1 on cast or convert isn't exactly helpful, it's a stub referring you to another page 😀

    (but I get the point, MSDN is a good resource for basic questions like this)

    What version are you using? I ask because I get a whole lot more than just a stub from BOL.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)