Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Problem with rawtohex function

Re: Problem with rawtohex function

From: PaulCinVT <paulcinvt_at_aol.com>
Date: 15 Mar 2000 17:21:38 GMT
Message-ID: <20000315122138.08525.00003708@nso-cg.aol.com>


Restrictions on LONG and LONG RAW Data

Although LONG (and LONG RAW; see below) columns have many uses, their use has some restrictions:

Only one LONG column is allowed per table.

LONG columns cannot be indexed.

LONG columns cannot appear in integrity constraints.

LONG columns cannot be used in WHERE, GROUP BY, ORDER BY, or CONNECT BY clauses or with the DISTINCT operator in SELECT statements.

LONG columns cannot be referenced by SQL functions (such as SUBSTR or INSTR).

LONG columns cannot be used in the SELECT list of a subquery or queries combined by set operators (UNION, UNION ALL, INTERSECT, or MINUS).

LONG columns cannot be used in SQL expressions.

LONG columns cannot be referenced when creating a table with a query (CREATE TABLE... AS SELECT...) or when inserting into a table or view with a query (INSERT INTO... SELECT...). A variable or argument of a PL/SQL program unit cannot be declared using the LONG datatype.

Variables in database triggers cannot be declared using the LONG or LONG RAW datatypes.

References to :NEW and :OLD in database triggers cannot be used with LONG or LONG RAW columns.

LONG and LONG RAW columns cannot be used in distributed SQL statements.

LONG and LONG RAW columns cannot be replicated.

Note: If you design tables containing LONG or LONG RAW data, then you should place each LONG or LONG RAW column in a table separate from any other data associated with it, rather than storing the LONG or LONG RAW column and its associated data together in the same table. You can then relate the two tables with a referential integrity constraint. This design allows SQL statements that access only the associated data to avoid reading through LONG or LONG RAW data.    

Paul in VT Received on Wed Mar 15 2000 - 11:21:38 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US