Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

can we view the access paths created by dbrm ? how ? thx

7113


How can deadlocks be resolved?

946


What action db2 takes when a program aborts in the middle of a transaction?

1156


What is the physical storage length of the data types date, time, and timestamp?

1094


What is package in cobol db2?

1122


Explain the contents that are a part of dclgen.

1096


What is a system catalog table in db2?

1195


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

2073


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1189


Define db2.

1121


Explain how can you do the explain of a dynamic sql statement?

1130


What is syscat in db2?

1020


What is dpf in db2?

1117


How is the value function used?

1158


What is the difference between bind and rebind in db2?

1461