Oracle8i Application Developer's Guide - Large Objects (LOBs) Release 2 (8.1.6) Part Number A76940-01 |
|
Managing LOBs , 9 of 10
The use of LOB
s are subject to some restrictions:
SELECT
and WHERE
clauses. This includes using DBMS_LOB
package functions. In addition, references to objects in remote tables with or without LOB
attributes are not allowed.
Invalid operations. For example, the following operations are invalid:
SELECT
lobcol from table1@remote_site;
INSERT
INTO
lobtable select type1.lobattr from table1@remote_site;
SELECT
dbms_lob.getlength(lobcol) from table1@remote_site;
Valid operations. Valid operations on LOB
columns in remote tables include:
LOB
s are not supported in the following table types and clauses:
GROUP
BY
, ORDER
BY
, SELECT
DISTINCT
, aggregates and JOINS
. However, UNION
ALL
is allowed on tables with LOB
s. UNION
, MINUS
, and SELECT
DISTINCT
are allowed on LOB
attributes if the object type has a MAP
or ORDER
function.
VARRAYs
.
NCLOB
s are not allowed as attributes in object types when you create tables, but NCLOB
parameters are allowed in methods. NCLOBs store fixed-width data.
ANALYZE
... COMPUTE
or ESTIMATE
STATISTICS
statements.
new
and :old
LOB
values bound in the trigger are read-only which means that you cannot write to the LOB
. More specifically:
INSTEAD
OF
triggers on views, you can read both the :new
and :old
values.
LOB
column in an OF
clause (Note that a BFILE
can be modified without updating the underlying tables on which it is based).
DBMS_LOB
routines to update LOB
values or LOB
attributes on object columns, the functions or routines will not fire the triggers defined on the tables containing the columns or attributes.
Oracle8i Data Cartridge Developer's Guide, for more information about firing triggers on domain indexes.
See Also:
DBMS_LOB
package routines. However, you can use server-side PL/SQL procedures or anonymous blocks in Pro*C/C++
to call DBMS_LOB
package routines.
See Chapter 7, "Modeling and Design", "CACHE / NOCACHE / CACHE READS" .
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|