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!

How to check empty string and null? Assign same value to multiple variables

SeshuGiriApr 10 2012 — edited Apr 11 2012
Hi,

1.
How do I check for empty string and null?

in_value IN VARCHAR2

2. Also how do I assign same value to multiple variables?

var_one NUMBER := 0;
var_two NUMBER := 0;

var_one := var_two := 0; --- Gives an error

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2012
Added on Apr 10 2012
7 comments
89,024 views