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: SQLBindParameter(dynamic) & SQLDescribeParams

Re: SQLBindParameter(dynamic) & SQLDescribeParams

From: Harp <hmetu_at_gmx.net>
Date: 21 Feb 2005 11:16:22 -0800
Message-ID: <1109013382.817288.181230@o13g2000cwo.googlegroups.com>


Incredible both the use of
rc = SQLDescribeCol(hstmt,(SQLSMALLINT)(i+1), &colName1,len,&data,&data_len,&parlen
,&data_null,&null);
and
rc = SQLColAttribute(hstmt,(SQLSMALLINT)(i+1),SQL_DESC_TYPE_NAME, ptr,SMALL_LEN,&data_len[i+1],ptr);
in place of SQLDescribeParam(...)
delivers ORA-24000 error.
Its hard to believe this..., what am I doing wrong??? Any help? Received on Mon Feb 21 2005 - 13:16:22 CST

Original text of this message

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