I want the list of columns whose datatype is "date" from mytable in oracle. how can i do this. which query is used t fetch such column names?
Try this
select table_name, column_name, data_type from user_tab_columns where data_type='DATE' and lower(table_name)='mytable'