What is difference between TRUNCATE & DELETE?
Answer Posted / satya_k21
Hi,
By using truncate command we can delete all the records
in a table , but we cant delete a single record in a table.
by using delete command we can delete a entire records
or a specified record in a table..
Delete is a DML Operation but truncate is DDL Operation
let me know if it is wrong.
Regards,
Satya.k
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
what is the command used to fetch first 5 characters of the string? : Sql dba
who introduced sql?
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
What are the different types of functions in sql?
What is sqlerrd?
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
What is data control language (dcl)?
explain advantages of myisam over innodb? : Sql dba
How do I view tables in mysql?
How do I pipe the output of one isql to another?
What is a schema sql?
is it possible to pass an object or table to a procedure as an argument?
What are the popular database management systems in the it industry?
what is the different between now() and current_date()? : Sql dba