• +91 9723535972
  • info@interviewmaterial.com

Database Interview Questions and Answers

Question - Differentiate between ‘DELETE’, ‘TRUNCATE’ and ‘DROP’ commands.

Answer -

After the execution of ‘DELETE’ operation, COMMIT and ROLLBACK statements can be performed to retrieve the lost data.

After the execution of ‘TRUNCATE’ operation, COMMIT, and ROLLBACK statements cannot be performed to retrieve the lost data.

‘DROP’ command is used to drop the table or key like the primary key/foreign key.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners