If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

What is the date format? 10 could be month, year or date, but 80 and 90 would only work in the year portion. i.e. 1980/1990. If you are dealing with a number, and it is properly formatted using the to_date('20080507', 'YYYYMMDD') will work. You just need to know that format that the numbers are in otherwise...

Code:

SQL> SELECT TO_DATE('108090', 'MMDDYY') from dual;
SELECT TO_DATE('108090', 'MMDDYY') from dual
*
ERROR at line 1:
ORA-01847: day of month must be between 1 and last day of month

I have no idea what "SLIVD - NUMBER - data type" is. I'm guessing it isn't an Oracle support way of storing dates. So if you want help writing a function to do the conversion, then you need to explain the format. How does someone convert from SLIVD to a gregorian date?