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: Renee Bonnett <renee_at_openwindows.com.au>
Date: Wed, 31 Jan 2001 23:19:26 -0800
Message-ID: <F001.002A6DA9.20010131215028@fatcity.com>

Suhen,

Thankyou, that worked like a charm. What I should have also have asked though, is it possible to query the length of the field, ie: varchar2 300 (being the length)?

Thanks again,
renée

> -----Original Message-----
> From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Suhen
> Pather
> Sent: Thursday, February 01, 2001 4:05 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Selecting all columns
>
>
> 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).
>

-- 
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).
Received on Thu Feb 01 2001 - 01:19:26 CST

Original text of this message

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