How do I join month and year??

  • Hi Guys

    How do i join year and month column to get a date in a formay 'yyyy/mm'

    I have got two columns like this

    Year     Month           Result Expected

    2000      1                 2000/01

    2002     12                2002/12

     

    Both year and month have 'int' data types

     

     

    Thanks

  • Try converting them to varchar first...

  • After that What do I do??

  • Look up string concatenation in books online.

  • many thanks for the very useful information

Viewing 5 posts - 1 through 4 (of 4 total)

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