Question : Split data from one column into 2 columns

I have a filed called month_year with sample data of 004/2009.  I want to make this into two fields called month and year with data being 004 and 2009 respectively.  The data format is consistent throughout.

Answer : Split data from one column into 2 columns

update yourtable

  set [month]=substring(month_year,1,3)  ,[year]=substr(month_year,5,4)
 where month_year like '___/____'
Random Solutions  
 
programming4us programming4us