If it works like DB2/UDB on the AIX platform (and I believe that it does),
your answer is probably 6051 bytes. I think VARCHAR uses 1 byte per record
to tell the system how much actual data there is in the maximum 4096 bytes
allowable for VARCHAR.

Gord Royle
Cott Corporation

-----Original Message-----
From: Phil [mailto:sublime78ska@yahoo.com]
Sent: Thursday, October 18, 2001 3:52 PM
To: midrange-l@midrange.com
Subject: RE: Dynamic Field Length...


Tim,

>
> (50*100)+1000 = 6000 bytes
>
> or would it be 1024 * 101 = 103424 bytes
>
> I know there is additional overhead, but for the sake of the
> conversation...
> it would only use 6000 bytes of storage...
>

That's the idea although there are probably a lot of factors which affect
just how much storage is saved.  I don't know much about that but am
curious.

Maybe someone else who knows about this can comment?

Phil


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


Cott - The Leader in Premium Retailer Brand Beverage Innovation.




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.