查询数据库某张表中的字段个数

 SQL语句如下:

select count(*) from user_tab_columns t where t.TABLE_NAME='表名'

 

你可能感兴趣的:(数据库,sql)