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.
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
...
Log in to ExamTopics
Sign in:
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.
JamesBond
3 years, 4 months agodb2tester
5 years, 1 month ago