What is Difference Between delete and Truncate?

Answer Posted / udhayakumar

delete is used to delete one or more rows from the table
where as truncate to delete all the rows without its
structure from the table

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of subqueries?

568


What are the uses of merge?

715


What are the commands used in sql?

519


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

497


What is cursor and its types?

550






What is linq to sql?

544


What is pl sql in oracle?

569


What are the different sql languages?

532


What's the procedure?

484


what are local and global variables and their differences? : Sql dba

530


What is application trigger?

533


What is not null in sql?

568


What is loop in pl sql?

565


Why do we use sqlite?

523


Write a sql query to convert all character to uppercase after hypen.

955