Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Select count number of 'columns' in a table.
select count(*) from dba_tab_cols where table_name = 'TABLE_NAME';
Scott Shafer
San Antonio, TX
-----Original Message-----
From: Lyndon Tiu [mailto:ltiu_at_alumni.sfu.ca]
Is there a sql statement that returns the count of the number of columns a table has? NOT the number of rows but the number of columns.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Thu Aug 05 2004 - 13:22:33 CDT
-----------------------------------------------------------------
![]() |
![]() |