How we create a tables in DB2 ?Previously client has using
7 letters for user id,now he wants to increase the letters
from 7 to 12 for user id.How we can do it?

Answer Posted / hi

Yes, it's possible to increase/decrease the size. While
decreasing, need to make sure that none of the records
present in the column conflict the modification. e.g. to
reduce the size of the column which is CHAR(6) to CHAR(4),
with one of the record value as 'ABCDE' will give an error.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a collection in db2?

585


How can you quickly find out the # of rows updated after an update statement?

636


What are the uses of db2 optimizer?

824


What is view db2?

633


How does db2 sample database connect?

579






Why select is not preferred in embedded sql programs?

719


When the like statement is used?

643


What is the difference between plan and package in db2?

583


Explain how can you do the explain of a dynamic sql statement?

663


How can you count the number of rows from a table tab?

643


What is ibm db2 used for?

609


Can you tell me how can you find out the # of rows updated after an update statement?

617


Which components manage deadlocks in db2?

616


What is the use of with ur in db2?

625


What is check constraint in db2?

613