Bonjour,
J'utilise SQL Developer connecté à une base ORACLE.
Je souhaite récupérer toutes les tables ayant les colonnes suivantes : ZONE1, ZONE2,ZONE3 ET ZONE4 (liste exhaustive) dans all_tab_columns

Code SQL : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
select distinct OWNER,TABLE_NAME from all_tab_columns where 
COLUMN_NAME in ('COLLCOD','BUDGEXE','BUDGNUM','CHAPCOD','ACTICOD','SERVCOD')
--COLUMN_NAME = 'COLLCOD' 
--COLUMN_NAME = 'BUDGEXE' 
and COLUMN_NAME = 'BUDGNUM'
--and COLUMN_NAME = 'CHAPCOD'
--and COLUMN_NAME = 'ACTICOD'
and OWNER = 'CORIOLIS'
;

Merci pour vos réponses