exam questions

Exam 98-364 All Questions

View all questions & answers for the 98-364 exam

Exam 98-364 topic 1 question 186 discussion

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

Remo works as a Database Designer for Tech Inc.
He wants to create a table named Product.
He issues the following query to create the Product table:
CREATE Product (
ProductID Char (10) NOT NULL,

OrderID Char (10) NULL -
ProductName Varchar NOT NULL,
Primary key (OrderID, ProductID))
What are the errors in the above query? Each correct answer represents a complete solution. (Choose two.)

  • A. An attribute declared as a primary key cannot contain NULL values.
  • B. Each attribute should be defined as a primary key separately.
  • C. A table cannot have two primary keys.
  • D. ProductName is declared as Varchar without specifying the width of the column.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
Dbiswas
3 years, 11 months ago
C is also correct
upvoted 1 times
anuba
3 years, 10 months ago
not because they refer to the table above and there is no 2 PK
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 ...