Re: Test for null?

From: Patrick ONeill <oneillp_at_rl.af.mil>
Date: Tue, 17 Apr 2001 16:51:58 -0400
Message-ID: <3ADCACEE.3D6A5ED4_at_rl.af.mil>


wolgang,

try "meeting_date is null". nothing equals null.

pat

wolfgang_at_123.com wrote:

> This ought to be easy, but I've been driving myself nuts with it...
>
> I have a select statement that goes:
>
> select template_name from agenda where group_name='"+group_ID+"' and
> meeting_date=null
>
> which gives me all template names from the given group_ID, completely
> ignoring the meeting_date field.
>
> I tried various permutations on 'null', "null", "", '', etc, but those
> would "blow up" the page --- (none of the jsp stuff would show up, as
> it was stuck in a loop)
>
> If you have a suggestion on how to select for all rows where a given
> field is null, I'd love to hear it... please e-mail that info to
> wolfgang<at>deathsdoor<dot>com
>
> (Notice to spammers: spam is not welcome)
>
> Regards,
>
> Ron

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =----- Received on Tue Apr 17 2001 - 22:51:58 CEST

Original text of this message