Skip to Main Content
IBM Data and AI Ideas Portal for Customers

This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at

Status Not under consideration
Workspace Db2
Components Data Types
Created by Guest
Created on Apr 28, 2019

Invalid maximum timestamp value availble in DB2

In reference to this Db2 for z/OS idea (link), we need the same functionality for all platforms including Db2 for LUW.

I quote the text from the other RFE:

Currently there is documented maximum timestamp value available in DB2 as '9999-12-31-'. However, using this value can lead to various problems which are recognized by DB2 development already as during introduction of temporal tables, the maximum timestamp for temporal objects generated by Db2 is '9999-12-30-'

Below quote from PMR with IBM explanation why currently documented maximum timestamp is wrong and in fact should not be used.


when you use a getTimestamp or getString call to retrieve data from a TIMESTAMP(p) column, the IBM Data Server Driver for JDBC and SQLJ converts the value to a java.sql.Timestamp. It turns out that java.sql.Timestamp is based on java.util.Date which represents hours as values from 0 to 23. Unlike the DB2 family support of SQL, the value 24 is not part of the lexical representation for Java. Hence, becomes of the next day. For example, the value '2010-11-03-' would be shown as '2010-11-04-'. Apart from Java tools such as Data Studio, this issue may lead to problems (or confusion) for Java developers. With the DB2 10 for z/OS support of bitemporal data, this problem is further amplified because a maximum timestamp value is stored in the ROW END of every column in a system-period temporal table. DB2 uses '9999-12-31-' as that end value, and when these timestamp values are later externalized through Data Studio they are returned as as 10000-01-01 00:00:00.0 which does not make sense to the user because DB2 does not support 5-digit years.


SQL council agreed that better value will be in the temporal tables case the '9999-12-30-' - also to allow conversion from data type timestamp without timezone, to timestamp with timezone, which would end in error for value like currently documented maximum timestamp.

This should be changed and maximum value should be unified across all objects with some possible migration help otherwise it seems like DB2 development consciously allows to use value which is not fully supported by DB2 and which in result present a problem.

Needed by Date Jun 30, 2019