DATEDIFF_BIG Function - SQL Server to PostgreSQL Migration

In SQL Server, the DATEDIFF_BIG function is similar to the DATEDIFF function but returns the datetime difference as BIGINT.

For more information, see DATEDIFF and DATEDIFF_BIG Functions - SQL Server to PostgreSQL Migration.