OCIBindByName; ORA-24328: illegal attribute value

From: News <geoff_denning_at_hotmail.com>
Date: Mon, 18 Mar 2002 14:09:25 -0800
Message-ID: <kxtl8.309$8Y5.1397_at_news.bc.tac.net>



[Quoted] Does anyone here have experience using OCI on Solaris? I'm getting the error above (illegal attribute value) as a result of the following call on Solaris, but it works perfectly on NT!

Any suggestions?

ub2 l_NCHAR_CS_ID = SQLCS_NCHAR;

int l_Result = OCIAttrSet((dvoid *) l_Binding[l_Index], (ub4) OCI_HTYPE_BIND, (dvoid *) &l_NCHAR_CS_ID, (ub4) 0, (ub4)OCI_ATTR_CHARSET_FORM, Error); Received on Mon Mar 18 2002 - 23:09:25 CET

Original text of this message