I want to select unique columns from many tables within a schema. Pl. let me know.
From the data dictionary?
to select from user defined tables
dont understand your question at all
I've found the answer myself. To select unique column names from multiple tables. select distinct column_name from user_tab_columns where table_name like '%staging%'; thanks.
You will retrieve columns from tables owned by your user, that is, the logon you used. If you have DBA priviliges, select from DBA_TAB_COLUMNS and screen out users like SYS that are not relevant. Good luck.
David Knight OCP DBA 8i, 9i, 10g
Forum Rules