Re: Nulls in database

From: Date: Thu, 01 Feb 2001 17:25:34 +0000
Subject: Re: Nulls in database
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5317@lists.php.net to get a copy of this message
Try: [Start Construction Date] is null or: [Start Construction Date] is not null ~~LF "Conover, Ryan" wrote: > I am trying to write a query to bring back rows that have null values set in > them. I cannot figure out how to do this. I can bring back all rows that do > not have nulls with the following query. > > SELECT [ID], [Project Name], [Start Construction Date], [Actual Completion > Date] > FROM common WHERE [Start Construction Date] != ' ' OR [Actual Completion > Date] != ' ' > > I tried changing the != to = but it does not return anything. > > I am running these queries off a MSSQL 7.0 Server > > Ryan > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#5317) next »