About 225,000 results
Open links in new tab
  1. TO_DATE function in ORACLE - Stack Overflow

    Jan 1, 2015 · Why does the TO_DATE function return the month in its abbreviated form? My expected output for the second query is something like 01-01-2015 (simply, a TYPE conversion, NOT a format …

  2. Calculate difference between 2 date / times in Oracle SQL

    Oldest cdr date - Date format dd/mm/yyyy hh24:mi:ss How can I calcuate the difference in hours minutes and seconds (and possibly days) between the two dates in Oracle SQL?

  3. Understanding TO_CHAR to convert dates in oracle - Stack Overflow

    It would be OK if you used TO_DATE in this statement, which says that you want to convert a string '19/12/2017' into a date value, using 'dd/mm/yyyy' format mask. That's what you did in the first part of …

  4. How Oracle SQL to get first day of month - Stack Overflow

    Dec 21, 2021 · 1. If the date entered is between 1-oct to 15-oct, then the first day will be 01-oct. 2. if the date entered is between 15-oct to 31-oct , then the first day will be 01-oct. 2. for all other/next month …

  5. How to write date condition on where clause in oracle

    Jan 21, 2017 · I have data in the date column as below. reportDate 21-Jan-17 02-FEB-17 I want to write a query to fetch data for 01/21/2017? Below query not working in Oracle. SELECT * FROM …

  6. Comparing Dates in Oracle SQL - Stack Overflow

    Apr 16, 2012 · A date literal is part of the ANSI standard, which means you don't have to use an Oracle specific function. When using a literal you must specify your date in the format YYYY-MM-DD and …

  7. get week number using oracle date function? - Stack Overflow

    Aug 1, 2016 · get week number using oracle date function? Asked 9 years, 5 months ago Modified 3 months ago Viewed 20k times

  8. sql - Get month name from date in Oracle - Stack Overflow

    Nov 15, 2010 · How to fetch month name from a given date in Oracle? If the given date is '15-11-2010' then I want November from this date.

  9. How can I get the number of days between 2 dates in Oracle 11g?

    I'm trying to find an integer number of days between two dates in Oracle 11g. I can get close by doing select sysdate - to_date('2009-10-01', 'yyyy-mm-dd') from dual but this returns an interv...

  10. database - Oracle SQL query for Date format - Stack Overflow

    Oct 7, 2015 · 42 I always get confused with date format in ORACLE SQL query and spend minutes together to google, Can someone explain me the simplest way to tackle when we have different …