While creating a table, by mistake you have given size of one
field as 10. But as per requirement size should be 8. What is
your next step?

Answer Posted / rahul

If table is empty then we alter this column to any length,
but if some data got inserted into the table then we can
also decrease the column length upto largest data size
available in that perticulat column.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is check constraint in db2?

619


What is null indicator in db2?

611


Can we insert update delete in view?

585


What is a Foreign Key?

668


what is the sqlcode -501

11338






What is deadlock in db2?

589


What is role in db2?

629


How many databases can be created inside an instance in db2 ?

609


How do I import a csv file into db2?

575


What is consistency token in db2?

652


What r the comman abends in db2, jcl and cobol???????

1828


How to run db2 command in windows?

658


How do I add a column to a table in db2?

632


Explain in detail about buffer manager and its functionalities?

575


List out the data types available.

712