I'm sure that lob's can be greater than 1gb and much more.
the host vars u mean are lob var (kind of call by value)
or lob locator vars (kind call by reference). if u define a table
containing a lob column i think u need to create an auxilliary table too.
the first part of a lob 'object' is stored in the base table and the rest is stored in the auxilliary table. but be carefull with logging and large lob's !!! i'm not sure but i think i read about an capability to store lob outside db2 and a reference to the external location within a db2 table.
hope this will help
regards
marc gaines
Quote:
Originally posted by ansonee
We're encountering an issue with working with CLOB's. We're doing a basic insert into a table that has a CLOB column. Sometimes the CLOB is fairly tame in size (10k-15k), and once in a while they're fairly large (30k-60k).
When the CLOB is greater than 32K, the insert fails. Found some documentation which mentions that a LOB can't be larger than 32K, and if it is, it needs to be handled via assignment of host variables . I've seen host variables before (:xyz), but haven't actually worked with them.
How can one use host variables within an SQL stored procedure?
Thanks!
|