Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Which C datatype should be bound to a PL/SQL boolean?

Re: Which C datatype should be bound to a PL/SQL boolean?

From: Dogan Cibiceli <dcib_at_gwl.com>
Date: Wed, 09 Jun 1999 17:45:53 -0600
Message-ID: <375EFCB1.2B69E58E@gwl.com>


"J. Wegener NOSPAM" wrote:

> Does anybody know which C datatype should be used to bind to a PL/SQL
> boolean in Pro*C v8.0.4?
>
> Thanks,
> Johan
> --
> Johan Wegener
> Dansk Data Elektronik A/S
> Reply to: xjw_at_xdde.xdk
> NOSPAM: Delete xxx from my email address

You cannot bind it but you can write a wrapper around your function.

begin :dtyint_bind_var := to_number(f); end; where f is your function that returns boolean. Idea is from dbms_packages :)

D Received on Wed Jun 09 1999 - 18:45:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US