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 ibm db2 connect?

574


How do I delete a table in database?

599


What are the bind parameters ibm db2?

624


What is declare cursor?

613


What is the default page size of buffer pools?

650






What is the role of data manager in the db2 database?

649


What is the use of db2 optimizer?

611


How and when does the db2 enforces the unique key?

615


What is ibm db2 used for?

601


What is blu acceleration in db2?

608


What is db2?

743


what is db2 restart?

1694


What is check constraint. Explain with example.

650


Outputs of explain are with matchcols = 0. What does this signify?

619


What does db2 mean?

589