views:

31

answers:

1

Is it possible to correctly pass an OracleParameter to a boolean parameter in a pl/sql stored procedure?

A: 

You can not use boolean parameters in SQL. So calling an stored procedure that takes or returns a boolean value won't work in SQL. There is no problem using such a procedure from within a pl/sql block.

Rene
Is there a work-around? Can I pass an alternative type?
haymansfield
You can redefine your procedure so it takes a Y/N value or 1/0. Whatever you like.
Rene