Re: When is a blank not a null or ''
От | Michael Kleiser |
---|---|
Тема | Re: When is a blank not a null or '' |
Дата | |
Msg-id | 4200B74B.4090900@webde-ag.de обсуждение исходный текст |
Ответ на | When is a blank not a null or '' (mike <mike@redtux1.uklinux.net>) |
Ответы |
Re: When is a blank not a null or ''
|
Список | pgsql-general |
mike wrote:
If yes you should you have to use.
By the was in Oracle there is no difference between empty
CHAR- or VARCHAR-column and NULL- CHAR or VARCHAR-columns.
But that is scpecial to Oracle.
Are NULL in work_email possible ?I have the following query (I have removed all nulls from the field as test) SELECT first_name,work_email FROM tb_contacts WHERE tb_contacts.work_email <>''; However I get loads of blank email addresses coming up anyone any ideas ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
If yes you should you have to use.
SELECT first_name,work_email FROM tb_contacts WHERE tb_contacts.work_email <>'' AND tb_contacts.work_email IS NOT NULL;
By the was in Oracle there is no difference between empty
CHAR- or VARCHAR-column and NULL- CHAR or VARCHAR-columns.
But that is scpecial to Oracle.
В списке pgsql-general по дате отправления: