Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7820617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:22:04+00:00 2026-06-02T07:22:04+00:00

it gives error like this: date format picture ends before converting entire input string

  • 0

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;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T07:22:07+00:00Added an answer on June 2, 2026 at 7:22 am

    SYSTIMESTAMP is already a timestamp so you do not want to call to_timestamp. If you want to add 12 years 3 months to the current timestamp

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    v_t timestamp;
      3  begin
      4    v_t := systimestamp +interval '12-3' year to month;
      5    DBMS_OUTPUT.PUT_LINE(v_t);
      6* end;
    SQL> /
    20-JUL-24 03.27.28.966000 PM
    
    PL/SQL procedure successfully completed.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i added this line.but it gives error.how to import it? import org.andengine.opengl.texture.atlas.TextureAtlas;
When I am executing this code in http://www.pyschools.com/quiz/view_question/s2-q1 . It gives error for both
My program gives this error under gdb: During startup program exited with code 0xc0000135.
I am pulling a date string from an API. The returned string looks like
my sql statement is something like this below DECLARE @OLD_NAV_VALUE AS INT DECLARE @FINAL
I've seen this: how to get formatted date time like 2009-05-29 21:55:57 using javascript?
I'm using Kohana 3.1 and need to convert a date 2011-04-21 into format like
Why is it it gives error in return View(contacts.ToPagedList(pageNumber, pageSize)); statement the error in
the second function gives error C2803 http://msdn.microsoft.com/en-us/library/zy7kx46x%28VS.80%29.aspx : 'operator ,' must have at least
The cake php validation 'isUnique' gives error on edit var $validate = array( 'name'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.