Nov 5, 2003 #1 ScanX Programmer Oct 13, 2003 26 BE Hello, I have a table with 2 columns : month_of_birth year_of_birth both are number datatype I would like to have them converted into date datatype in the select (using a casting) and if possible into this format : "mmm yyyy" Thanx in advance Mika
Hello, I have a table with 2 columns : month_of_birth year_of_birth both are number datatype I would like to have them converted into date datatype in the select (using a casting) and if possible into this format : "mmm yyyy" Thanx in advance Mika
Nov 6, 2003 #2 VDavid Programmer Sep 14, 2003 118 VE Try Code: select DATEFORMAT(string(year_of_birth ,'-01-',month_of_birth), 'Mmm yyyy') from TABLE Hope this helps, David. Upvote 0 Downvote
Try Code: select DATEFORMAT(string(year_of_birth ,'-01-',month_of_birth), 'Mmm yyyy') from TABLE Hope this helps, David.