Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-01 |
|
Functions, 39 of 177
empty_LOB::=
EMPTY_BLOB
and EMPTY_CLOB
return an empty LOB locator that can be used to initialize a LOB variable or, in an INSERT
or UPDATE
statement, to initialize a LOB column or attribute to EMPTY
. EMPTY
means that the LOB is initialized, but not populated with data.
Restriction: You cannot use the locator returned from this function as a parameter to the DBMS_LOB
package or the OCI.
The following example initializes the ad_photo
column of the sample pm.print_media
table to EMPTY
:
UPDATE print_media SET ad_photo = EMPTY_BLOB();
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|