There is an explicit cursor that has data passed to it from a for loop. This looks at table A. In cursor for loop i have an update statement that uses data retrieved from the cursor in the where statement before populating table B. The problem is the update statement itself has to have a column name in table B in the whwere clause::
WHERE column_name LIKE UPPER(%RV%);
Unfortunately I need it to do this
WHERE (data retreived from cursor using table A) LIKE UPPER(%RV%);
Is there anyway to attach the update statement to a retreived field from the cursor?
WHERE tableA.Field_data LIKE UPPER(%RV%)
The reason I thought this might be possible is the update statement for TABLE B is inside the Cursor for_loop for table A. hope this makes sense.
Greg
WHERE column_name LIKE UPPER(%RV%);
Unfortunately I need it to do this
WHERE (data retreived from cursor using table A) LIKE UPPER(%RV%);
Is there anyway to attach the update statement to a retreived field from the cursor?
WHERE tableA.Field_data LIKE UPPER(%RV%)
The reason I thought this might be possible is the update statement for TABLE B is inside the Cursor for_loop for table A. hope this makes sense.
Greg