Skip to Main Content
IBM Data Platform Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data Platform 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 (https://ideas.ibm.com).


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 (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - 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 https://ideas.ibm.com



Status Submitted
Workspace Db2
Components Db2 on-premise
Created by Guest
Created on Jan 14, 2026

Add option to add comment on database and query the comment with SQL

Hello,
I can add comment on table, comment on column and comments on many more objects, but it seems difficult to add comment on database and impossible to query it.

Current work-around is to add comment on database at DBA level. I can SSH to Linux server where Db2 server is installed and execute:

db2 "CHANGE DATABASE mydb COMMENT WITH 'my comment' "

and then query the result with:

db2 "LIST DB DIRECTORY" | grep -A 5 mydb | grep "^ Comment"


My idea is to add database comment info on query level. Now on test system we have many databases and because database name is restricted to 8 characters names can not be descriptive. Now we have to maintain the list of database comments externally which is not ideal and prone to errors.

I imagine to add comment using query (this is not vital, because there is already DBA command "CHANGE DATABASE").

CONNECT TO mydb;
COMMENT ON DATABASE IS 'my comment';


Then query it like from some view:

SELECT REMARKS FROM SYSCAT.DATABASE;


or like from some variable:

VALUES(CURRENT_DB_COMMENT);


Additionally: Length of comment using "CHANGE DATABASE" is now restricted to 30 characters only. Make this e.g. 254 character like in table comment. Why? I would like to add additional info in my comment like: a) When comment was created, b) Who named the comment and c) Actual database comment etc. I would like to add comment like:

2026-01-14 - Roger Moore - This is the database comment for movie For Your Eyes Only
Needed By Quarter