select ‘ ALTER TABLE ‘||table_name || ‘ MODIFY( ‘|| column_name || ‘ DATE );‘ from USER_TAB_COLUMNS where data_type = ‘TIMESTAMP(6)‘--把TIMESTAMP(6)类型 修改为 DATE型
时间: 2024-12-23 02:37:37
select ‘ ALTER TABLE ‘||table_name || ‘ MODIFY( ‘|| column_name || ‘ DATE );‘ from USER_TAB_COLUMNS where data_type = ‘TIMESTAMP(6)‘--把TIMESTAMP(6)类型 修改为 DATE型