Rodd Holman wrote:
It might be for a new feature, two_page_long_columnames=true ;-)
:)) In each joke there is a moment of the truth...
SELECT comments
FROM all_col_comments
WHERE table_name = 'DBA_CONS_COLUMNS'
AND column_name = 'COLUMN_NAME'
/
COMMENTS
-----------------------------------------------------
Name associated with column or ***attribute of object
column specified in the constraint definition**
-- I.e.:
-- DROP TABLE employee;
-- DROP TYPE person_name;
CREATE TYPE person_name AS OBJECT
(
first_name VARCHAR2(30)
, last_name VARCHAR2(30)
);
/
CREATE TABLE employee (
name person_name
, dob DATE NOT NULL
, CHECK (name.first_name IS NOT NULL AND name.last_name IS NOT NULL)
)
/
SELECT *
FROM dba_cons_columns
WHERE table_name = 'EMPLOYEE'
/
Kind Regards, :)
--
Vladimir Begun
The statements and opinions expressed here are my own and
do not necessarily represent those of Oracle Corporation.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Vladimir Begun
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).