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'
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.