My Oracle Support Banner

How to query for rows where <Date_Column> is BETWEEN the previous month's first day at 00:00:00 and the previous month's last day at 23:59:59 (Doc ID 2807253.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Goal

How to query for rows where <Date_Column> is BETWEEN the previous month's first day at 00:00:00 and previous month's last day at 23:59:59.

Solution

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

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


In this Document
Goal
Solution


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