Precompilers and OCI (MOSC)

MOSC Banner

OCIBindByPos() : set the dty as SQLT_AFC for the SQL TYPE: NUMBER(10,0)

edited Dec 26, 2012 4:12AM in Precompilers and OCI (MOSC) 1 commentAnswered
Oracle Client version: 10.2.0.4.0Oracle Version 11.2.0.3.0

The internal datatype is NUMBER(10,0), our application binds this column as : SQLT_AFC


    sqlrc = OCIBindByPos( pStmtHandle, bindp, errhp, n + 1,
                          pszBindData, iLen, SQLT_AFC, nIndicator, NULL,
                          NULL, 0, NULL, OCI_DEFAULT );


Is there any potential issue to bind the SQLT_AFC to the NUMBER(10,0) column?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center