A. DELETE can use a WHERE clause to determine which row(s) should be removed. ---> Is correct
B. TRUNCATE can use a WHERE clause to determine which row(s) should be removed. ---> Its wrong bcoz truncate will delete every rows in a table except the table definitions.
C. TRUNCATE leaves any indexes on the table in an UNUSABLE state. ----> its wrong truncate will remove everything except table definition or skeleton of the table
D. The result of a TRUNCATE can be undone by issuing a ROLLBACK.-----> Its wrong bcoz TRUNCATE is a ddl statement whereas it can be done for DELETE since its dml statement
E. The result of a DELETE can be undone by issuing a ROLLBACK. ----> Its correct bcoz DELETE is DML statement and each delete of row are recorded in transaction log or the redo logs.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
devml
Highly Voted 1 year, 11 months agoDrexan
Most Recent 2 months, 2 weeks agoalelejaja
7 months, 3 weeks agoChandra1104
1 year, 9 months agoheoj10272
2 years, 3 months agoArtur1991
2 years, 4 months ago