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...


can we drop column from a table

Answers were Sorted based on User's Feedback



can we drop column from a table..

Answer / srini

We can not drop a column. If we want we can append colume
with ALTER command.

Is This Answer Correct ?    30 Yes 9 No

can we drop column from a table..

Answer / prem

It depends on DB2 version.
In DB2 V9 we can drop a column.
In DB2 V8 we cant.

Is This Answer Correct ?    12 Yes 3 No

can we drop column from a table..

Answer / kumar

It is not possible directly. Indirectly we could do it.
Create a view by eliminating the column (th one to be
deleted). Drop the table or create a new table. Copy from
the view to the newly created table. Pl correct if I'm
wrong.

Is This Answer Correct ?    7 Yes 3 No

can we drop column from a table..

Answer / anand

yes .. can be dropped..

Is This Answer Correct ?    2 Yes 8 No

can we drop column from a table..

Answer / rbs

yes we can drop, but column should not have any data.
eg: ALTER TABLE <TB NAME> DROP COLUMN Col-name.

Is This Answer Correct ?    3 Yes 10 No

can we drop column from a table..

Answer / zoheb ali ahmed

Drops only take place at, minimum, table level.

Is This Answer Correct ?    0 Yes 13 No

can we drop column from a table..

Answer / nitesh

yes we can drop any column
ALTER TABLE <TABLENAME> DROP COLUMN <COLUMNNAME>
e.g ALTER TABLE EMP DROP COLUMN NAME

Is This Answer Correct ?    20 Yes 36 No

Post New Answer

More DB2 Interview Questions

How can you do the explain of a dynamic sql statement?

0 Answers  


What are the three types of page locks that can be held?

1 Answers  


How many buffer pools are there in DB2?

2 Answers  


What is table space in db2?

0 Answers  


How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)

2 Answers  


If we have 100 records in the PF, we deleted all the records then what is the Size of the PF?

2 Answers  


What is sqlca’s maximum length?

0 Answers  


What is ibm db2 used for?

0 Answers  


How do you pull up a query which was previously saved in qmf?

0 Answers  


what are bind concepts in db2 cobol?

0 Answers  


In cobol+DB2program if the code of cobol program has changed than i have to do precompilation once again?

6 Answers   TCS,


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

4 Answers   Mphasis,


Categories