exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 5 question 11 discussion

Actual exam question from Microsoft's 70-464
Question #: 11
Topic #: 5
[All 70-464 Questions]

You need to convert the functionality of Dynamic.sql to use a stored procedure.
Which Transact SQL statement should you add to the stored procedure contain?

  • A. CREATE PROC Production.ProductsAfterDate (@ProductID AS varchar(11), @CreationDate AS date) AS ...
  • B. CREATE PROC Production.ProductsAfterDate( @sqlstring AS nvarchar(1000)) AS ...
  • C. CREATE PROC Production.ProductsAfterDate( @sqlstring AS nvarchar(1000), OUTPUT @ProductID AS varchar(11), OUTPUT @CreationDate AS date) AS ...
  • D. CREATE PROC Production.ProductsAfterDate( @sqlstring AS nvarchar(1000), @ProductID AS varchar(11), @CreationDate AS date) AS ...
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
@sqlstring, @ProductID, and @CreationData need to be declared as parameters. @ProductID, and @CreationData should be output parameters.
Topic 5, Litware, Inc

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
Luzix
4 years, 7 months ago
sqlstring is never output due to it´s used to generate the output
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 ...