Brandon Kohn  wrote:
 
> I'm wondering if it would be possible to store a serialized object in the form of a byte array in a Long [varchar] column.  If not, what would be  
> the best way to store a byte array in the db?
 
LONG    BYTE  ist a good way.
 
LONG (without BYTE) will usually mean LONG ASCII.
LONG BYTE will never be converted, LONG ASCII may be converted (in case of UNICODE).
And if real byte-data (no ascii-data) is stored in this LONG, conversion is useless --> LONG BYTE.
 
BTW: (VAR)CHAR knows the distinction between ASCII and BYTE, too.
 
Elke
SAP Labs Berlin

Reply via email to