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: Suhen Pather <Suhen.Pather_at_strandbags.com.au>
Date: Wed, 31 Jan 2001 23:19:26 -0800
Message-ID: <F001.002A6D2B.20010131210526@fatcity.com>

Renee,

Not sure if this is what u want

select a.table_name,a.column_name,a.data_type from user_tab_columns a, user_tables b
where b.tablespace_name=upper('&tablespace_name') and a.table_name=b.table_name
;

Suhen

-----Original Message-----
Sent: Thursday, February 01, 2001 2:51 PM 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: Suhen Pather INET: Suhen.Pather_at_strandbags.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).
Received on Thu Feb 01 2001 - 01:19:26 CST

Original text of this message

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