it gives error like this: date format picture ends before converting entire input string
declare
v_t timestamp;
begin
v_t := to_timestamp(systimestamp,'DD/MM/YY')+interval '12-3' year to month;
DBMS_OUTPUT.PUT_LINE(v_t);
end;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SYSTIMESTAMPis already a timestamp so you do not want to callto_timestamp. If you want to add 12 years 3 months to the current timestamp