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 / anish
for the 1st question:
v can create table by the COMMAND
CREATE TABLE table-name
column1 char(9)
.
.
...so on
And according to your installation u have to mention the
tablespace name & DB name.
for the 2nd question:
ALTER TABLE table-name
MODIFY USER_ID CHAR(12);
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is null in db2?
List out the data types available.
What is scrollable cursor in db2?
Define db2.
Give a brief description of db2 isolation levels?
Which are the db2 tools to protect integrity of the database?
What is a db2 table?
What is the function of logging in the db2 database?
Explain how can you do the explain of a dynamic sql statement?
How does coalesce work?
What is meant by union and union all?
What is the use of predicate?
What's The Error Code For Unique Index Voilation?
How to fetch the last row from the table in SQL (db2)?
What is a db2 collection?