oracle中判断某个字段是否存在
document为表名 docid为字段名 select count(column_name) from cols where table_name=upper('document') and column_name=upper('docid') 如果查询出来的为0说明document中不存在docid字段
document为表名
docid为字段名
select count(column_name) from cols where table_name=upper('document') and column_name=upper('docid')
如果查询出来的为0说明document中不存在docid字段
Powered by: BlogJava Copyright © 诗特林