SQL (Structured Query Language) Question:

Download Job Interview Questions and Answers PDF

TRUNCATE TABLE EMP; DELETE FROM EMP; Will the outputs of the above two commands differ?

SQL Interview Question
SQL Interview Question

Answer:

Both will result in deleting all the rows in the table EMP..

Download SQL Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of DESC in SQL?What are the wildcards used for pattern matching.?