Oracle
 sql >> Database >  >> RDS >> Oracle

Oracle:ricerca di colonne con solo valori nulli

SELECT  t.column_name
FROM    user_tab_columns t
WHERE   t.nullable = 'Y'
        AND t.table_name = 'YOUR_TABLE_NAME'
        AND t.num_distinct = 0