on 03-14-2016 7:42 PM
I tried using where "colName" = '', It's not working. And also please suggest how to select all the Empty or Null columns (no value through out the table). My target is list all the Null or empty columns in any table.
for empty records:
select *
from <SCHEMA.TABLE>
where ltrim(rtrim("YOUR_COLUMN")) = '';
for null records:
select *
from <SCHEMA.TABLE>
where "YOUR_COLUMN" is null;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.