查询表某字段类型,如下:

SELECT data_type
FROM all_tab_cols
WHERE table_name = UPPER('SRIS_P_BaseInfo')
and column_name = 'REPORTDATE';

oracle查询表指定字段类型-LMLPHP

05-06 03:28