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 the use of db2 optimizer?

606


How do you stop a db2 database in linux?

566


What is query_cache_limit?

541


What is the use of dclgen in db2?

588


Explain about rct in db2?

633






How is the value function used?

600


Highlight all the advantages that are attached to a package.

623


What is the physical storage length of date data type?

722


What is the use of commit in db2?

628


What is the difference between db2 and oracle?

671


What is the default page size of buffer pools?

644


What is explain in db2?

582


What is page size in db2?

561


Define declaration generator (dclgen).

665


What is bind package and plan in db2?

591