Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to change column name in db2 1

Status
Not open for further replies.

chizi

Technical User
Mar 18, 2003
3
CA
Hello everyone,

Do you think it is possible to change a column name in DB2 via Contral centre or CLP?

I appreciate you for your solution and suggestion
 
it is NOT possible to change anything about a column except to increase the size of a VARHAR.

You have two alternatives:

1) create a view the way you want the table to look.
2) export the data, drop the table, recreate it, import the data

HTH

Andy
 
Andy,

Your words made it clear. I appreciate you very much for your reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top