exam questions

Exam 98-364 All Questions

View all questions & answers for the 98-364 exam

Exam 98-364 topic 1 question 41 discussion

Actual exam question from Microsoft's 98-364
Question #: 41
Topic #: 1
[All 98-364 Questions]

You have a table named Student that contains 100 rows. Some of the rows have a NULL value in the FirstName column.
You execute the following statement:

DELETE FROM Student -
What is the result?

  • A. All rows in the table will be deleted.
  • B. All rows containing a NULL value in the FirstName column will be deleted.
  • C. You will receive an error message.
  • D. All rows and the table definition will be deleted.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
syed5
Highly Voted 4 years, 11 months ago
The DELETE statement is used to delete existing records in a table. DELETE Syntax DELETE FROM table_name WHERE condition; Since the WHERE condition is NOT used, therefore all rows in the table will be deleted
upvoted 9 times
Pink_Dreams
4 years, 5 months ago
Well Done!
upvoted 2 times
...
...
Sihloniphise76
Highly Voted 5 years ago
The answer should be (A)
upvoted 5 times
...
dzoni68
Most Recent 3 years ago
Answer is A.
upvoted 1 times
...
NgohMac_Donald
3 years, 7 months ago
The answer is A guys. Just ran the query and got answer as A
upvoted 1 times
...
nate91cx
4 years, 2 months ago
SQL SERVER CODE: DELETE FROM Student Will delete everything form the table, I tried it. Answer is A
upvoted 2 times
...
estherjq
4 years, 2 months ago
I have tried the code, the correct answer should be C. try on https://www.tutorialspoint.com/execute_sql_online.php
upvoted 1 times
...
Vishal_15
4 years, 7 months ago
Answer should be C. DELETE from <table_name>
upvoted 1 times
...
Saranepal
4 years, 9 months ago
<DELETE FROM table> this statement will delete all rows from the table if there is no where clause
upvoted 3 times
...
Entbak
4 years, 10 months ago
Ans Should be C
upvoted 1 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 ...