Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam C2090-616 All Questions

View all questions & answers for the C2090-616 exam

Exam C2090-616 topic 1 question 25 discussion

Actual exam question from IBM's C2090-616
Question #: 25
Topic #: 1
[All C2090-616 Questions]

Which of the following SQL statements will remove all rows from the table T1? (Choose two.)

  • A. DELETE FROM t1
  • B. DELETE* FROM t1
  • C. DELETE* TABLE t1
  • D. TRUNCATE TABLE t1 IMMEDIATE
  • E. TRUNCATE TABLE t1
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
JamesBond
3 years, 4 months ago
A and D [db2inst2@vbox1 ~]$ db2 delete from sample; DB20000I The SQL command completed successfully. [db2inst2@vbox1 ~]$ db2 truncate table sample immediate DB20000I The SQL command completed successfully. Tested and verified.
upvoted 1 times
...
db2tester
5 years, 1 month ago
The syntax of the query "DELETE * FROM t1" is not correct in Db2. The correct answers are : "A- DELETE FROM t1" "C- TRUNCATE TABLE t1 IMMEDIATE"
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...