Precompilers and OCI (MOSC)

MOSC Banner

How to find if a column is CHAR or NCHAR ?

edited Aug 24, 2010 5:40AM in Precompilers and OCI (MOSC) 2 commentsAnswered
Hello,
OCIAttrGet(...OCI_ATTR_DATA_TYPE...) returns the same datatype code(96=SQLT_AFC) for CHAR and NCHAR columns. NLS_LENGTH_SEMANTICS=CHAR doesn't help, because if it is set, then both types are CHAR semantics.

How can I find if a column is CHAR or NCHAR in OCI ?

thanks in advance...

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