Re: is there a JDBC equivalent to Oracle's PRO*C DESCRIBE operation?
- From: IchBin <weconsul@xxxxxxx>
- Date: Sun, 17 Sep 2006 16:16:30 -0400
shib wrote:
I am porting code from Oracle's PRO*C to JDBC.If i understand you correctly then sure look at the PREPARE statement.
In PRO*C, if I have a text which represents an unknown SQL statement, I can
describe it and get the names (and number) of bind variables in it.
For example, describing
SELECT a,b from t where a= :bind1 and b= :bind2
Will return the result of two input bind variables, whose name is :bind1 and
:bind2. I can also get the names & types of the output variables (a & b in
this case).
Is there any JDBC equivalent for this (I know in JDBC binds are represented
as ?, however oracle-specific JDBC drivers also support the above syntax).
Thanks,
Ilan
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.
- References:
- Prev by Date: Re: Download the JAVA , .NET and SQL Server interview PDF
- Next by Date: 係香港一間IT公司,叫Advanced Telesoft, 有個ap叫Dan,
- Previous by thread: is there a JDBC equivalent to Oracle's PRO*C DESCRIBE operation?
- Next by thread: Re: is there a JDBC equivalent to Oracle's PRO*C DESCRIBE operation?
- Index(es):
Relevant Pages
|
|