What is the difference between DELETE and TRUNCATE?

Answer Posted / sanjay keserwani

we can go upto some number of records through delete while
in truncate we have to unoccupied all records.

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I add a primary key to a table?

543


what is timestamp in mysql? : Sql dba

566


How to start the command-line sql*plus?

566


Where not exists in sql?

503


what are the differences between binary and varbinary? : Sql dba

533






how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba

773


explain what is mysql? : Sql dba

600


how many triggers are allowed in mysql table? : Sql dba

559


Does inner join return duplicate rows?

521


Does pl/sql support create command?

578


Is sql a case sensitive language?

516


who introduced sql?

572


What is the use of non clustered index?

528


How do I remove sql developer from windows 10?

511


What are inner and outer joins examples of both?

497