Define on VARCHAR

From: Rudy Zulkarnain <ucrudy_at_socrates.umd.edu>
Date: Thu, 15 Jul 1993 06:02:16 GMT
Message-ID: <1993Jul15.060216.29789_at_socrates.umd.edu>


Hi everyone,

I was wondering is there any other ways to substitute the length of a VARCHAR variable with a MACRO?
I am using ORACLE 6 and PROC*C.

Example:

VARCHAR document[40]

is there any ways to say something like these?

#define DOC_LEN 40

VARCHAR document[DOC_LEN]

Thanks in advance,

Rudy Received on Thu Jul 15 1993 - 08:02:16 CEST

Original text of this message