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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam DP-900 topic 1 question 62 discussion

Actual exam question from Microsoft's DP-900
Question #: 62
Topic #: 1
[All DP-900 Questions]

You have an inventory management database that contains the following table.

Which statement should you use in a SQL query to change the inventory quantity of Product1 to 270?

  • A. INSERT
  • B. MERGE
  • C. UPDATE
  • D. CREATE
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.microsoft.com/en-us/sql/t-sql/queries/update-transact-sql?view=sql-server-ver15

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vince60370
Highly Voted 3 years, 2 months ago
Update is the SIMPLEST way, but a MERGE can also do the update... I think the question should be a little bit more specific.
upvoted 31 times
DSilsbury
1 year, 9 months ago
Merge requires 2 datasets, it can't be merge
upvoted 7 times
...
...
Armandoo
Highly Voted 2 years, 10 months ago
The answer is UPDATE since we want to change something within a column.
upvoted 28 times
Lipseal
2 years ago
I googled it: ALTER - add/delete/modify column UPDATE - update existing row INSERT - Insert new row
upvoted 11 times
...
...
AGTraining
Most Recent 2 months ago
option C
upvoted 1 times
...
akhil5432
9 months ago
'Update' is correct option
upvoted 1 times
...
evvanalytics
1 year, 1 month ago
UPDATE
upvoted 2 times
...
chiiiweiii
1 year, 2 months ago
Selected Answer: C
Correct Answer
upvoted 2 times
...
JA2018
1 year, 7 months ago
Selected Answer: C
You need DML to update/ modify each row record in a DB table.
upvoted 2 times
...
Eltooth
1 year, 10 months ago
Selected Answer: C
C is correct answer : Update
upvoted 4 times
...
alveswlm
1 year, 10 months ago
Selected Answer: C
Update statement is used to change the value of a column.
upvoted 4 times
...
EXODUS33
1 year, 11 months ago
Selected Answer: C
update is used to change an existing record value
upvoted 4 times
...
olusesan
1 year, 11 months ago
Answer is C
upvoted 2 times
...
nhftloh
2 years ago
Selected Answer: C
Answer is c
upvoted 3 times
...
D_Mo_ZY
2 years, 1 month ago
Update Was in the exam (18/03/2022)
upvoted 5 times
...
Yvekke
2 years, 4 months ago
update is ok
upvoted 2 times
...
jmay
2 years, 5 months ago
even when using MERGE, you still need to include an UPDATE sub query
upvoted 5 times
...
Afamdi
2 years, 7 months ago
Update obviously!
upvoted 4 times
...
MFO_FM
2 years, 8 months ago
Update
upvoted 3 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 ...