I need a query please any help
if you do a select * from all_tables I need to find out similar table which ends with _all and _tl
the reason I want to make a view _VL. eg:
oe_headers_types_all
oe_headers_types_tl
select name1 from
(select substr(table_name,1,length(table_name)-4) name1 from all_tables
where table_name like '%_ALL'),
(select substr(table_name,1,length(table_name)-3) name2 from all_tables
where table_name like '%_TL')
where name1 = name2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.