查询oracle字段默认值
SELECT table_name, column_name, data_default
FROM user_tab_cols t
where column_name = 'CREATED_DATE_TIME'
但是返回的是 long类型
需要导出到excel
然后处理
alter table SUPPLIER modify created_date_time default sysdate;
SELECT table_name, column_name, data_default
FROM user_tab_cols t
where column_name = 'CREATED_DATE_TIME'
但是返回的是 long类型
需要导出到excel
然后处理
alter table SUPPLIER modify created_date_time default sysdate;