IBM Support

Using the days_between function against Snowflake giving unexpected results

How To


Summary

If the datasource was previously pointing to SQL Server or DB2 and is now going to Snowflake, there might be some incorrect results when using the days_between. Cognos will convert this to DATEDIFF but the arguments are reversed in the 2 functions.

Document Location

Worldwide


[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Analytics

Software version:
All Versions

Document number:
960201

Modified date:
01 May 2025

UID

ibm10960201

Manage My Notification Subscriptions