What is ALTER ?

Answers were Sorted based on User's Feedback



What is ALTER ?..

Answer / s

ALTER is a DDL (data definition language) statement to make
changes to the description of the table.

Is This Answer Correct ?    3 Yes 0 No

What is ALTER ?..

Answer / om yadav

modify the structer of table.
1. add column.
2. midify column.
3. drop column.
4. add or remove constraint.

Is This Answer Correct ?    1 Yes 0 No

What is ALTER ?..

Answer / jitendra

ALter is to change db2 table definition. for eg:
Alter tablename
add column number(11,2)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

how to u check the query is executing or not ?where will u check for sqlcode ?

6 Answers   Infosys,


What is Skeleton cursor table (SKCT)?

2 Answers  


What does db2 mean?

0 Answers  


How to compare data between two tables in db2?

0 Answers  


What is an instance database?

0 Answers  






How to resolve SQL Code -310. The db table feild is declared as Decimal(7,2).

2 Answers   IBM, Infosys,


Could you please let me no the query for below I have table name xyx under this there is column name called employee name which starts from 100th column ends 120th column,now i want to replace only column from 101 to 104 which contains ABCS to replace with PQRS for all records which comes beetween 101 to 104 ..how to write query for this..

1 Answers   HSBC,


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

0 Answers  


Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.......

2 Answers  


How can you quickly find out the # of rows updated after an update statement?

0 Answers  


What is a precompiler?

2 Answers  


Give the COBOL definition of a VARCHAR field.

2 Answers  


Categories