Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


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.

Status Future consideration
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Oct 27, 2016

DB2 Alter Table Rename column

DB2 for LUW and z/OS provide the capability to rename a column. DB2 for i should have the same functionality. Renaming a column's system name should be included, too.


Use Case:

In our IT department, Data Studio is used to create or modify tables and indexes. The developers try to correctly name the columns, long and system, but occasionally mistakes are made. Our DBE reviews the tables and indexes before promotion to production, too, and usually catches the incorrect names.

For empty tables it's OK to drop a column and add it back with the correct names.

Recreating the table is an option, too, unless it's a parent with dependents. The constraints have to be dropped then recreated. This may not be possible on a production system running 24x7.

When tables contain data the solution is even more difficult. Especially when the data loading process is complex and/or date/time sensitive, i.e. snapshot values for a point in time.

A hack can be used if both long and system names need to be changed. But the hack gets much worse if only one of the column names should be changed. And a hack, aka QID (quick and dirty), may compound the problem rather than resolve it.

Using a statement like "ALTER TABLE table_name RENAME column TO new_column_name FOR SYSTEM NAME short_column_name" would work correctly every time and eliminate the need for a hacked solution.


Idea priority Medium
  • Guest
    Reply
    |
    Mar 23, 2023

    Another vote for this. It looks like I have a lot of work ahead of me since we can't simply rename a column!

  • Guest
    Reply
    |
    Jan 6, 2023

    I must ReDesign a big old Database and need this option, asap.

  • Guest
    Reply
    |
    Jun 24, 2021

    We have been running across this issue lately. I will also put this in as a LUG requirement.

  • Guest
    Reply
    |
    Apr 29, 2021

    Certainly needed to keep db2 functionality in line with other DBMS... voted...

  • Guest
    Reply
    |
    Feb 26, 2021

    IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it.

  • Guest
    Reply
    |
    Oct 27, 2017

    IBM has received the requirement and is evaluating it. IBM will provide a response after evaluation is complete.

  • Guest
    Reply
    |
    Aug 15, 2017

    The CAAC has reviewed this requirement and recommends that IBM view this as a medium priority requirement that should be addressed. While the issue may be due to user error, correcting the error can be difficult and this RFE would make it easier.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CAAC, see www.common.org/caac

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Dawn May - CAAC Program Manager

  • Guest
    Reply
    |
    Nov 30, 2016

    I sent an email to Phil asking for more information.