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 / shailendra
i think, the size of variable is not possible to change,
please correct me if i am wrong.
so for the solutionwe can creat new table with change of
the size of user_id char(12)
and if you want the same name of table
step1 >creat a table for interface perpose with user_id char
(12)
2> insert all the data in the interface table
3> delete the main table.
4> create table with same name of main table with
user_id char(12)
5> insert data from interface table to main table.
now i think it will work.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is db2 optimizer?
What do you mean by between and in? Is between inclusive of specified range values?
What is performance tuning db2?
What is a buffer in memory?
List down the data types in the db2 database.
Discuss about db2 bind?
What is host variable?
Which is faster delete or truncate?
What is bufferpool in db2?
How do I delete a column in db2?
What is bind in db2?
What is plan in cobol db2?
Explain about dbrm.
What is the use of runstats in db2?
What is the difference between dbm cfg and db cfg file in db2 ?