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 do you mean by storage group (stogroup)?
What is the meaning concurrency in the db2 database?
What is db2?
What are host variables in db2?
B37 abend during spufi?
What is dbrm library?
What is the maximum size of a char data type in db2?
What is an instance in db2?
What is db2 command?
How is the value function used?
What is null in db2?
Explain the function of data manager.
Is db2 a database?
What are the bind parameters ibm db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.