Precompilers and OCI (MOSC)

MOSC Banner

Can I define in PRO*C a Clob as a LONG VARCHAR REFERENCE just I can do it for BLOB as LONG VARRAW RE

edited Mar 4, 2013 10:36AM in Precompilers and OCI (MOSC) 9 commentsAnswered
Hello all ,

a developer have to work with a CLOB column in PRO*C and need a structuer(?) how he can define this CLOB in his program. He found an example "sample4.pc" in Pro*C/C++ Programmer's Guide. But this example work with a BLOB column, here the definition in the program:

EXEC SQL TYPE ownLongVarChar_t IS LONG VARRAW REFERENCE;Exists any equivalent for CLOB just likeEXEC SQL TYPE ownLongVarChar_t IS LONG VARCHAR REFERENCE;Many thanks for any answer and please have patience because I'm DBA (and in former times I wrote cobol progams but never C programs)  and I ask only for a developer,Brigitte Türk

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