Can we pass a parameter to a cursor?

Options
- No
- Yes


CORRECT ANSWER : Yes

Discussion Board
Cursor

Yes, we can pass parameters into a cursor and use them in the query. We can only pass values to the cursor; and cannot pass values out of the cursor through parameters. Only the datatype of the parameter is defined, not its length. Optionally, we can also give a default value for the parameter, which will take effect if no value is passed to the cursor.

Prajakta Pandit 02-10-2017 01:35 AM

Doubt : Can we pass a parameter to a cursor?

plz look n give explain

krishna 07-10-2015 04:44 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement