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 8472211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:59:58+00:00 2026-06-10T16:59:58+00:00

I am working on oracle table to pull the data. In one of the

  • 0

I am working on oracle table to pull the data. In one of the query i am using ‘where’ to filtering between date.

To_Date(VDATU,'DD-MON-YYYY') >= '03-Jun-2012'
AND To_Date(VDATU,'dd-mon-yy') <= '04-Sep-2012'

I am getting error,

ORA-01861: literal does not match format string

I tried using (‘dd-mm-yy’) but still it is giving the same error. what may the problem??

  • 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-10T17:00:00+00:00Added an answer on June 10, 2026 at 5:00 pm

    You are trying to convert VDATU (which is presumably a VARCHAR2) into a date.

    In one place you have DD-MON-YYYY and in the other you have dd-mon-yy.

    Which one is it? VDATU can not be valid for both.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on Oracle 10g.One of the column's of my table stores data, as
I'm Working with a new Oracle DB, with one table having the following indexes:
Can anyone provide a working sample code to convert following Oracle DB table with
I'm working with oracle for the first time, and I have a table called
My native query below is working fine oracle sqlplus. But through JPA native query,
I'm working on a web interface for modifying Oracle database backup settings. One of
I am working on Oracle. I have this large property-indexer table ( THE_TABLE ),
I have an Excel file (which has data imported from Oracle 10G Database) one
I am working on a project that is using an Oracle database with stored
How can I get all columns' names from an Oracle table using Java? Is

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.