Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we define a cursor variable to Null

569980Apr 20 2007 — edited Apr 20 2007
Hi friends

I have a cursor declared in a package named trx_c
Trx_r is a cursor variable variable of that type.
Now there are certain columns like order_id and transaction id in this cursor.
I'm setting these columns to null individually..Like Trx_r.order_id:=null

Can I set the whole cursor variable i.e. trx_r :=Null.....I don't care abt the other columns to be null

I just want to know whether this will work and if it will have any unexpected consequences on the package...

With Regards
Mohit
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2007
Added on Apr 20 2007
4 comments
1,564 views