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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Selecting all columns

RE: Selecting all columns

From: Rajesh Dayal <Rajesh_at_ohitelecom.com>
Date: Wed, 31 Jan 2001 23:19:27 -0800
Message-ID: <F001.002A6CF4.20010131205549@fatcity.com>

select a.column_name,a.data_type,a.table_name, b.tablespace_name from dba_tab_columns a, dba_extents b where a.table_name=b.segment_name and b.tablespace_name = 'SYSTEM' order by a.table_name, a.column_name

HTH,
Rajesh
-----Original Message-----
Bonnett
Sent: Thursday, February 01, 2001 7:51 AM To: Multiple recipients of list ORACLE-L

What would be the sql needed if possible (in sql*plus) to select all column
names (and respective table) and their column type within a tablespace?

Much appreciated,

renée

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Renee Bonnett
  INET: renee_at_openwindows.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rajesh Dayal INET: Rajesh_at_ohitelecom.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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).
Received on Thu Feb 01 2001 - 01:19:27 CST

Original text of this message

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