What is the difference Delete and Drop ?
Answers were Sorted based on User's Feedback
Answer / sunil kumar
Delete command deletes the data from the table.
Drop command destroy,drop columns,tables.
| Is This Answer Correct ? | 25 Yes | 0 No |
Answer / anubhav tiwari
1.DELETE COMMANDS: ONLY DELETE DATA FROM TABLE NOT THE
STRUCTURE OF THE TABLE.DATA CAN BE CALL BACK USING ROLL
BACK.
2.DROP COMMANDS DLETE TABLE AND STRUCTURE BOTH FROM THE
DATABASE ie.DATA CANT BE ROLL BACK OVER HERE.
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / lalit samant
Where clause can de used with delete .
You can use where clause with drop or truncate
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / senthil d
Delete Command - Options to Delete particular record using
where clause and to delete all records. Table structure
remains. But it slower in performance as we compared with
truncate command
Drop Command - Drops the entire table from data base
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kasirajan
delete command deletes the table temporarily from the database. we can get it back using the keyword ROLLBACK.
but the drop keyword deletes the table permanently from the database,we cant able to get it back...
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / reddi prasad
THE MAIN DIFFERENCE BETWEEN DELETE AND DROP:
DELETE: ONCE WE DELETE ANY DATA FROM THE DATABASE WE CAN
EASILY RETURN BACK THE DATA BY USING ROLLBACK.
DROP: ONCE WE DELETE ANY DATA FROM THE DATABASE WE CAN'T EA
RETURN BACK THE DATA AND WE CAN SEE THE STRUCTURE OF OBJECT
ONLY.
| Is This Answer Correct ? | 9 Yes | 15 No |
Explain the different types of mysql joins.
What is bdb (berkeleydb)?
What is the difference between now() and current_date()?
How would you enter characters as hex numbers?
What is back end and front end?
How do I get a list of table names in mysql?
Is mysql frontend or backend?
when i declare date data type in sql ,i inserted the date 22-10-2012,but my result is in different date 1894-07-11 any one pls help me what's wrong in my query Create table orders(od_id int,od_name varchar(10),od_date date) insert into orders values(1,'sai',22-10-2012) and any one pls suggest what i can learn for 3 years real time experenice in sql because i am looking for database field
What is a session in mysql?
What is MySQL Stored Procedure?
What are the critical issues you have resolved in your company
How does mysql store dates?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)