difference between truncate, delete aur drop?
Answers were Sorted based on User's Feedback
Answer / v.krishnakumar
in truncate we can delete inside the table data not the
structure of the table,in delete operation we can remove
our data in the table as well as structure but we can get
again using rollback operation, in drop operation it was
permanentely removed from our database we cannot get agian.
| Is This Answer Correct ? | 13 Yes | 2 No |
truncate are the use to the remove the data as well all the space into the table , and the delete are use to the delete only for the data into the table,and the drop is use to the delete or remove the table....
| Is This Answer Correct ? | 5 Yes | 1 No |
What is the downside of using udf?
What are the encryption mechanisms in sql server?
How to read data in a table with "select" statements?
Explain nested trigger in sql?
What are views used for?
What are dml triggers and types of dml triggers?
How do I know if localdb is running?
How to create hyperlink from returned sql query ?
How to remove duplicate rows from table except one?
Working with TLogs
What is the difference between functions and stored procedures?
How to find 6th highest salary from Employee table ?
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)