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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:03:52+00:00 2026-06-13T15:03:52+00:00

sorry for asking a really amateurish question, but I am only beginning to learn

  • 0

sorry for asking a really amateurish question, but I am only beginning to learn oracle.

I need to extract rows based on a date column which is in MM/DD/YYYY format , but I can’t formulate a proper query. I used to_date function too but no fun.

I need to extract rows from XTABLE where XDATE is higher than 10/21/2011 (MM/DD/YYYY)

select * from XTABLE where XDATE >= '10/21/2011'

doesn’t work, neither does

select * from XTABLE where to_date(XDATE,'MM/DD/YYYY') > to_date('28/10/2011','MM/DD/YYYY')
  • 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-13T15:03:54+00:00Added an answer on June 13, 2026 at 3:03 pm

    Columns of type DATE aren’t stored in MM/DD/YYYY format: It’s just presentation according to your current NLS settings.

    Your query should be:

    select * from XTABLE where XDATE >= date '2011-10-21'
    

    See http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements003.htm#BABGIGCJ for information on date and other ‘datetime’ literals.

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

Sidebar

Related Questions

I'm sorry for asking a really stupid question, but since facebook changes its ways
Really sorry to be asking a bit of an off topic question, but we've
Im really sorry for asking such a newby question but I dont know what
i'm sorry for asking too many questions this days, but i really need ur
Sorry for asking a totally basic question, but if I have a synthesized property
Sorry for asking this again but ppl seem to connect csrf only with form
i'm sorry for asking this question because i think it has a really simple
Sorry for asking this question, but I searched all Java-related questions, but I got
Sorry for asking a basic question like this but I've been reading on this
I'm sorry for asking this sort of questions, but I really couldn't find the

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.