Oracle查詢某個表是否有某個列

sql語句 select count(0) as 列 from user_tab_columns where UPPER(column_name)='RECID' AND TABLE_NAME = 'MD_ORG' 2. 寫在mybatis中 //查詢某個字段在某個表中是否存在 是返回1 不是返回0 @Select("select count(0) as aanum \r\n" +
相關文章
相關標籤/搜索