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


what is differnece between DROP TABLE & DELETE TABLE .

Answers were Sorted based on User's Feedback



what is differnece between DROP TABLE & DELETE TABLE ...

Answer / samir kumar sahoo.

in DROP TABLE command it will remove the table containts as
well as table structure from the database catalog, also it
release all the storage space it has acquired previously.
we can't rollback it as it is a ddl command.

but in case of DELETE TABLE command it just delete all the
records but not relaese the spaces it acquires .it can be
rollback as it is a dml command.

Is This Answer Correct ?    17 Yes 0 No

what is differnece between DROP TABLE & DELETE TABLE ...

Answer / durga prasad

drop table deletes the entire structure from the database
and it also removes entry from syscat.tables. but where as
delete table only deletes the rows in the table.

Is This Answer Correct ?    8 Yes 2 No

what is differnece between DROP TABLE & DELETE TABLE ...

Answer / santy

DROP TABLe deletes the entire Structure of the TABLE from
the database with all the datas it contain, DELETE TABLE
deletes only the rows of the TABLE.

Is This Answer Correct ?    7 Yes 3 No

what is differnece between DROP TABLE & DELETE TABLE ...

Answer / siri

Drop : Drop table command it will remove table structure of the data base.....we can't rollback...
SYNTAX :- DROP TABLE TABLE-NAME..

DELETE : Delete table command it will delete rows from the table...for example i want delete empname in employee table i will write the query is.....
SYNTAX :- DELETE EMPNAME FROM EMPLOYEE

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB2 Interview Questions

What is difference between rollback and commit?

0 Answers  


what is the name of the default db2 catalog database?

3 Answers   IBM,


What's the maximum number of characters that a tablename can have?

3 Answers  


DB2: A calls B once sucessfull and second time when it calls says curson is open why is it so?

1 Answers   IBM,


How do you do the EXPLAIN of a dynamic SQL statement?

2 Answers  


Is it Possible to declare or create a cursor for UPDATE of table? If yes tell me how? If no Tell me why?

1 Answers   IBM, scintel,


How to compare data between two tables in db2?

0 Answers  


how can u nderstand the sql stmts executed successfully or not ?

1 Answers   TCS,


i have an employment table whch has salary,dept,name? i want salary b/w 1000 to 5000 can anyone pls say the query for ths ?

8 Answers   Cap Gemini, CGI, EDS, IBM, Satyam, Wipro,


What is a predicate?

1 Answers  


If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?

2 Answers  


Define data page.

0 Answers  


Categories