The below query will help you in situations when you want to dynamically fetch the columns for a specific table or when you simply need the list of all tables which have a column like you are looking for.
SELECT OWNER,
TABLE_NAME,
COLUMN_NAME,
DATA_TYPE,
DATA_LENGTH,
DATA_PRECISION,
NULLABLE,
LAST_ANALYZED,
CHAR_USED,
HISTOGRAM
FROM all_tab_columns
No comments:
Post a Comment