• How in case of

    LEN(CONVERT(VARCHAR,@a)) AS 'Converted'

    , LEN(CAST(@a AS VARCHAR)) AS 'Cast'

    It is returning 30?

    Can you plz exlpain.

    _______________________________________________________________
    To get quick answer follow this link:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/