I'm trying to find a table in a schema with a specific column name. So I used the following script, but it doesn't return anything:
select a.table_name, column_name,DATA_TYPE,DATA_LENGTH
from all_tab_columns a,USER_ALL_TABLES u
where a.TABLE_NAME=u.TABLE_NAME
and column_name like '%LATLONG%'
order by DATA_LENGTH desc;
On the other hand, a SELECT
of table LATLONG_DETAIL
will display a column called LATLONG_TYPE
.
So why isn't the query displaying this table in its result?
All these queries are being run in the schema where table LATLONG_DETAIL
resides.
Thanks.