
March 7th, 2006, 10:32 AM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 3
Time spent in forums: 1 h 29 m 57 sec
Reputation Power: 0
|
|
|
Having ADD_MONTHS problems
I CANNOT get my sqlplus script to add months to a date field (date_tng_stat). Can someone please help. Here is the script:
select t.date_tng_stat,
ADD_MONTHS(t.date_tng_stat,6)
If I run the script without the ADD_MONTHS the date_tng_stat comes out in YYYYMMDD ex. 20060307.
THat's how I want the end result of the ADD_MONTHS to be also. Hope this helps. Thanks.
|