My Oracle Support Banner

TO_DATE() RETURNS CURRENT MONTH WHEN NO MONTH DATA FOUND IN ARGUMENT (Doc ID 1014079.6)

Last updated on FEBRUARY 17, 2025

Applies to:

Oracle Database - Enterprise Edition - Version 8.0.6.0 and later
SQL*Plus - Version 8.0.6.0 and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Purpose

To explain the TO_DATE function and how it returns the current month when no month is found in the argument.

Scope

 For DBAs that need to know why the TO_DATE Function posts data that may be omitted in the statement / argument.

 

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.