IBM Support

Oracle function WW and IW

Troubleshooting


Problem

When using the WEEK function against ORACLE, the 'WW' function is used. The 'WW' function returns the week number based on 1-7 days (one being the first week of the year). Therefore the first seven days of the year will be regarded as the first week. There is another function named 'IW', which is based on a Saturday to Sunday days format. For example, January 6, 1998 is a Tuesday. In the first scheme this would be regarded as the first week. In the second scheme this would be returned as the second week. Is there any way of using the 'IW' scheme?

[{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Impromptu","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Impromptu 5.0;Impromptu 7.3;Impromptu 7.4","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.

Historical Number

63616

Document Information

Modified date:
09 May 2025

UID

swg21348447