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

How will you optimize a stored procedure optimization?

733


Write a program to fetch first 10 records from a file?

823


What is tablix?

138


What is a matrix in ssrs?

125


Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many

741


What is temporal table?

679


How to recover from sql injection? : sql server security

766


Why and when do stored procedure recompile?

763


mention different types of relationships in the dbms?

765


Explain datetimeoffset data type in sal server 2008?

730


What is Extended user-defined?

760


What are the new features introduced in SQL Server 2000? What changed between the previous version of SQL Server and the current version?

2096


What is the native system stored procedure to execute a command against all databases?

772


How to start sql server browser service?

843


What is the usage of sign function?

842