Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / mohsin mohammed abdul

Delete command deletes the data from the tables .. but can
get back on issue of roll back whereas when you issue
truncate deletes the records and oracle implicitly issues
commit command and even when you issue rollback you won't
get the data back

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is clustered primary key?

784


How to specify the collation for a character data type in ms sql server?

772


What are the basic functions for master, msdb, model, tempdb databases?

816


How to create a view on an existing table in ms sql server?

834


What is analysis service repository?

801


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

734


How to link tables in sql server?

702


How do we know if any query is retrieving a large amount of data or very little data?

756


What are the various editions of sql server 2017 that are available in the market?

687


How would you add a section to a table?

796


How to rebuild master databse?

856


What is report subscription?

111


What is user-defined inline table-valued function?

728


What is model database? : SQL Server Architecture

820


how can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role? : Sql server administration

761