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!

Weird case of default value

NewLearnerMay 23 2014 — edited May 24 2014

My PL-SQL code has a default parameter set to 0.

When I am passing the variable as null it is failing as the default value of "0" is not assigned to the variable which is used in the where clause of the query.

What could be the problem why the default value is not assigned to my variable.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2014
Added on May 23 2014
6 comments
230 views