This worked for me select * from system.information_schema.columns where table_schema = 'finance' AND table_name = 'YourtableNM' and is_nullable = 'NO'