DB2Problem
Programmer
My database table is returning years as
1999, 2000, 2001, 2002 from the year_description field. I want to assign a unique char datatype (year_code) to this.
For Example -
1, 1999
2, 2000
3, 2001
I can not modifying/add anything in the database. How can I do this in SQL or java
1999, 2000, 2001, 2002 from the year_description field. I want to assign a unique char datatype (year_code) to this.
For Example -
1, 1999
2, 2000
3, 2001
I can not modifying/add anything in the database. How can I do this in SQL or java