Re: ** HELP ** How to get the number of columns of tables;

From: Thodla Subrahmanyam <tsubrahm_at_PROBLEM_WITH_INEWS_GATEWAY_FILE>
Date: 1996/05/20
Message-ID: <4nq08d$sj0_at_eccdb1.pms.ford.com>#1/1


You can use the following table(s) to arrive at the number of columns in a table:

ALL_TAB_COLUMNS or USER_TAB_COLUMNS

SQL > SELECT table_name,count(*) 
  2 >   FROM all_tab_columns
  3 >  WHERE owner = 'XYZ' 
  4 > GROUP BY table_name;
Received on Mon May 20 1996 - 00:00:00 CEST

Original text of this message