String formatting
690792May 7 2009 — edited May 7 2009Hi, everyone.
I need help.
I have a VARCHAR2 type field, and I need to select it with correct formattting.
Format is a template like this '##-##-#####'. It can be different.
e.g. if formatting is '##-##-#####' and field is 'ABCDEFGHI' then query should return
'AB-CD-EFGHI'
What is the best way to do it?