Claim Your Black Friday Savings: 75% Off! Apply coupon code below to get your exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: ac75sure

You have a database in an Azure Cosmos DB Core (SQL) API account.

You have a database in an Azure Cosmos DB Core (SQL) API account.

You need to create an Azure function that will access the database to retrieve records based on a variable named accountnumber. The solution must protect against SQL injection attacks.

How should you define the command statement in the function?

A.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = ' accountnumber ' "

B.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = LIKE @accountnumber "

C.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = @accountnumber "

D.

cmd = " SELECT * FROM Persons pWHERE p.accountnumber = ' " + accountnumber + " ' "

DP-420 PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now DP-420 pdf
Get 75% Discount on All Products, Use Coupon: "ac75sure"