Oracle中查詢一個表中字段(列)個數

如果一個表中有很多的字段,而我們想要知道這個表中的字段個數,如果使用如下方式一個一個數,則顯得很麻煩 Oracle中可以使用如下sql來查詢字段(列)個數 [sql]  view plain  copy select count(*) from user_tab_columns where table_name=upper('表名')   或者 [sql]  view plain  copy se
相關文章
相關標籤/搜索