my query is something like this
Select date_value from Tab1;
The output looks like this (date_value is a Varchar2 column)
2008-2009
2009-2010
2007-2009
I am trying to some formatting on the column date_value,so that the output looks like this
2008-09
2009-10
2007-09
Is there a way to do this as part of the above query using some Split/Join inbuilt oracle functions. I was exploring about Instr and Substr, but i am not sure how to do this jsut in that query.