I'm trying to get empty "text" fields from my table which I cleared manually with pgadmin. Initially in those fields was '' and I can query them like this:
SELECT mystr, mystr1 FROM mytable WHERE mystr='' or mystr1=''
But that not work if I delete text from them and leave cells blank.
How to write query to get those '' and clear cells together in result? Or clear cells alone?
''andNULLare different)WHERE mystr IS NULLinstead.'or"is a valid character inside a string. So a string could consist of only one or two quote characters.