exam questions

Exam PEGACRSA80V1 All Questions

View all questions & answers for the PEGACRSA80V1 exam

Exam PEGACRSA80V1 topic 1 question 49 discussion

Actual exam question from Pegasystems's PEGACRSA80V1
Question #: 49
Topic #: 1
[All PEGACRSA80V1 Questions]

You have a requirement that must return the OrderDate, OrderStatus, and OrderAmount for all orders for a given customer account in a SQL database.
How should the SQL query be specified in the CommandText property of the SqlQuery component?

  • A. SELECT OrderDate, OrderStatus, OrderAmount FROM Orders where AccountNumber={accountNumber}
  • B. SELECT OrderDate, OrderStatus, OrderAmount FROM Orders where AccountNumber=?accountNumber
  • C. SELECT OrderDate, OrderStatus, OrderAmount FROM Orders where AccountNumber={0}
  • D. SELECT OrderDate, OrderStatus, OrderAmount FROM Orders where AccountNumber=@accountNumber
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference: http://help.openspan.com/80/Components/SQL_Query.htm

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
JeganKumar
5 years, 6 months ago
The answer is D http://help.openspan.com/71/Components/SQL_Query.htm
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago