|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Possible to access cursor elements by element number?
Hi, consider the following PL/SQL code:
Code:
declare
cursor MY_CURSOR as select Firstname, Lastname from EMPLOYEE
NAME MY_CURSOR%RowType
To access an element in NAME, we need to specify its column name, such as NAME.Firstname. Can I access it by in an array-like fashion, such as NAME[0] or Name(1)? |
|
#2
|
|||
|
|||
|
No. It won't work that way.
What kind of 'shortcut code' are you looking for - ie., exactly what are you doing? |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > Possible to access cursor elements by element number? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|