exam questions

Exam 1z0-750 All Questions

View all questions & answers for the 1z0-750 exam

Exam 1z0-750 topic 1 question 11 discussion

Actual exam question from Oracle's 1z0-750
Question #: 11
Topic #: 1
[All 1z0-750 Questions]

You want to use the session state value of a page item in the SELECT statement for a report on another page.
What is the correct way to reference the value of a page item in a SQL statement?

  • A. &PAGE_ITEM
  • B. v("˜PAGE_ITEM')
  • C. APEX_UTIL.GET_SESSION_STATE(p_item => "˜PAGE_ITEM)
  • D. :PAGE_ITEM
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.oracle.com/en/database/oracle/application-express/19.2/aeapi/GET_SESSION_STATE-Function.html#GUID-8BB0C252-C4DB-4300-
AA34-9E1FF3B2DAA7

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
SuperDabicho
1 year, 6 months ago
Selected Answer: D
In release 23.1 is still D the correct answer. We are talking about SQL not PL/SQL I guess https://docs.oracle.com/en/database/oracle/apex/23.1/htmdb/managing-session-state-values.html#GUID-AC0C208D-61DF-40F6-8CC9-F3D59D24E5D0:~:text=3.9.1-,About%20Referencing%20Session%20State,-Reference%20item%20values
upvoted 1 times
...
Tiribobba007
3 years, 3 months ago
The answer is D
upvoted 2 times
...
Nakhala
3 years, 3 months ago
the answer is D, the ':' prevent SQL injection
upvoted 2 times
...
geri1590
3 years, 5 months ago
D ":MY_ITEM" is correct (in SQL!): https://docs.oracle.com/en/database/oracle/application-express/21.1/htmdb/managing-session-state-values.html#GUID-AC0C208D-61DF-40F6-8CC9-F3D59D24E5D0
upvoted 2 times
...
usmanchaudhy
3 years, 5 months ago
C is Correct
upvoted 1 times
...
sbrand
3 years, 11 months ago
Best answer: D
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