× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try CLOB (Character Large Object)

I believe that can hold up to some ungodly sum like 15 million bytes.

CREATE TABLE LAW8EXTN.CHECKOUT(
TRANS_NBR CHAR(10) NOT NULL WITH DEFAULT,
CHECK_DATE DATE NOT NULL WITH DEFAULT,
VENDOR CHAR(9) NOT NULL WITH DEFAULT,
VENDOR_VNAME CHAR(50) NOT NULL WITH DEFAULT,
BASE_CHK_AMT NUMERIC(15,2) NOT NULL WITH DEFAULT,
INVOICES CLOB(4096) NOT NULL WITH DEFAULT);

I had to use it today.

-----------------------------------
Jim Norbut
Systems Administrator
Grubb & Ellis Company
500 West Monroe
Chicago, IL 60661
(312) 698-5620

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Richard Schoen
Sent: Tuesday, January 08, 2008 5:19 PM
To: midrange-l@xxxxxxxxxxxx
Subject: VARCHAR Field Size Max

Quick question for the DB gurus in the forum.

Vern doesn't count on this one since he didn't have a direct answer :-)

Is there a data type besides VARCHAR in DB2/400 -or- DB2 for i5/OS (For
Trevor :-) ) that will let me store more than 32000 characters.

I need a long note field that is larger than 32KB.

Any help would be appreciated.

Thanks :-)

Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com <http://www.rjssoftware.com/>
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.