RE: IS NULL not working in WHERE clause.
From: Earl (Earl_at_discussions.microsoft.com)
Date: 12/17/04
- Next message: Earl Newcomer: "RE: IS NULL not working in WHERE clause."
- Previous message: Earl: "Re: IS NULL not working in WHERE clause."
- In reply to: Brandon Lilly: "RE: IS NULL not working in WHERE clause."
- Next in thread: David Portas: "Re: IS NULL not working in WHERE clause."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Dec 2004 14:25:03 -0800
The query does return rows where the time_id is NULL and where the time_id
has an integer value (surrogate key). You can see a subset of the rows
returned in the reply I sent to David Portas.
"Brandon Lilly" wrote:
> Does this query return any values where the time_id column contains NULL:
>
> select bus_date, time_ordered, time_id
> from [vicorp\gillic].pmix_fact1
> where bus_date = '2003-11-01'
> and time_ordered between '2003-10-31 00:05:54' and '2003-11-05 13:38:11'
> order by time_ordered
>
>
> Brandon
- Next message: Earl Newcomer: "RE: IS NULL not working in WHERE clause."
- Previous message: Earl: "Re: IS NULL not working in WHERE clause."
- In reply to: Brandon Lilly: "RE: IS NULL not working in WHERE clause."
- Next in thread: David Portas: "Re: IS NULL not working in WHERE clause."
- Messages sorted by: [ date ] [ thread ]