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: Dynamic SQL

Re: Dynamic SQL

From: Ronald <r.goeggelNOr.SPAM_at_atos-group.de.invalid>
Date: 2000/04/27
Message-ID: <0de6b490.c4ae017c@usw-ex0101-007.remarq.com>#1/1

Pro*C Method 4: How can I refer to bind variables

I can't find any documentation how to refer to bind variables in an SQL statement.

I studied sample10.pc. So I am able to fetch the whole table. Then I initialized bind variables, but I have no idea how to format a SELECT statement.

On INFORMIX it looks like
"SELECT * FROM table where field1 = ?"
INFORMIX replaces this "?" by the first element of the SQLDA array

How should I do this in ORACLE?

Thanx in advance

Ronald

Received on Thu Apr 27 2000 - 00:00:00 CDT

Original text of this message

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