Re: Length of a LONG RAW field?

From: Muhammad A. Malik <mamalik_at_cs.wmich.edu>
Date: 1996/05/28
Message-ID: <31AB6608.613D_at_cs.wmich.edu>#1/1


Peter Hesse wrote:
>
> I have a Pro*C function that gets a LONG RAW field from the database.
> The function also requires the length of the data stored. Is there a
> command I can use which will get the length (in bytes) of the LONG RAW
> field?
>
> Thanks
>
> --Pete Hesse
>
> +-----------------------------------------------------------+
> | Peter M. Hesse CygnaCom Solutions, Inc. |
> | pmhesse_at_cygnacom.com Suite 201 |
> | 1477 Chain Bridge Road |
> | http://www.cygnacom.com/ McLean, Virginia 22101-5729 |
> +-----------------------------------------------------------+
> Views expressed belong to me, not my school or my employer.

Use this, it may help:

select vsize(longfield) from table;

-- 

Muhammad A. Malik
mamalik_at_cs.wmich.edu
+1 (616) 342-4569
Received on Tue May 28 1996 - 00:00:00 CEST

Original text of this message