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

Home -> Community -> Usenet -> c.d.o.server -> Re: DBMS_SQL.BIND_VARIABLE in query?

Re: DBMS_SQL.BIND_VARIABLE in query?

From: Lothar Armbüster <lothar.armbruester_at_rheingau.netsurf.de>
Date: 17 Feb 2000 18:37:48 +0100
Message-ID: <648.82T2429T11174788lothar.armbruester@rheingau.netsurf.de>


Matt Houseman wrote at 17-Feb-00 17:49:32 on the subject DBMS_SQL.BIND_VARIABLE in query?:

[...]

>nEmpNo Number;
>...
>nEmpNo := 1;
>...
>DBMS_SQL.BIND_VARIABLE ( cursor, ':empno', nEmpNo );

>If anyone has some sample code that can be posted, I would greatly
>appreciate it.

Hello Matt,
if I remember correctly you simply have to ommit the ':' in the bind_variable statement. I.e.:

DBMS_SQL.BIND_VARIABLE ( cursor, 'empno', nEmpNo );

I think it's worth a try!

Hope that helps,
Lothar

--

Lothar Armbrüster       | lothar.armbruester_at_rheingau.netsurf.de
Hauptstr. 26            | lothar.armbruester_at_t-online.de
D-65346 Eltville        |

Received on Thu Feb 17 2000 - 11:37:48 CST

Original text of this message

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