Casting question

  • Seems pretty simple question to me. An easy point. 🙂

  • Why is the type char(3) ?

    If I use one of the below selects, then it is all the same !

    select convert (char(3),11/9)

    select convert (int,11/9)

    select convert(float ,11/9)

  • good question on datatype conversion practices.

    Thanks.

Viewing 3 posts - 31 through 34 (of 34 total)

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