Home icon

Migrate date functions from Oracle to Amazon RDS for PostgreSQL

Database Blog



This article provides guidance on converting date functions from Oracle to Amazon RDS for PostgreSQL during database migration.

Specifically, the article covers:

  • Differences in date-related functions in Oracle and PostgreSQL, such as SYSDATE, TRUNC, TO_DATE, and date arithmetic
  • Converting NUMTODSINTERVAL function from Oracle to PostgreSQL
  • Converting ADD_MONTHS function from Oracle to PostgreSQL
  • Converting date series generation from Oracle to PostgreSQL
  • Handling date differences in Oracle and PostgreSQL


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jan 8
2024
Migrate an Oracle associative array to Amazon Aurora PostgreSQL or Amazon RDS for PostgreSQL
Feb 8
2024
Migrate Oracle collections to Amazon Aurora PostgreSQL-Compatible Edition or Amazon RDS for PostgreSQL
Jan 23
2024
Migrate rows with unique constraints to Amazon RDS for PostgreSQL or Amazon Aurora PostgreSQL
Jan 17
2024
Migrate JSON data from Oracle’s CLOB to Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.