| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Chris | Date: | March 12 1999 2:22pm |
| Subject: | Re: MySQL and NULL entires | ||
| View as plain text | |||
It won't work to use 'NULL' as a parameter in an '=' comparison...use ISNULL instead: UPDATE ACCOUNT SET billgroup = '1' WHERE ISNULL(billgroup); --Chris On Thu, 11 Mar 1999, Mike Machado wrote: > update account set billgroup = "1" where billgroup = "NULL"; > update account set billgroup = "1" where billgroup = NULL; > update account set billgroup = "1" where billgroup = ""; > update account set billgroup = "1" where billgroup = ''; > update account set billgroup = "1" where billgroup = "0";
| Thread | ||
|---|---|---|
| • MySQL and NULL entires | Mike Machado | 12 Mar |
| • Re: MySQL and NULL entires | Sasha Pachev | 12 Mar |
| • Re: MySQL and NULL entires | Thimble Smith | 12 Mar |
| • Re: MySQL and NULL entires | Chris | 12 Mar |
| • Re: MySQL and NULL entires | Christian Mack | 12 Mar |
| • Re: MySQL and NULL entires | Karl Pielorz | 12 Mar |
| • Re: MySQL and NULL entires | Ed Carp | 12 Mar |
| • Searching for CEOs against software patents" | Jonas Norrman | 6 Oct |
| • Re: MySQL quota problem | Arjen Lentz | 21 Jan |
| • Re: MySQL quota problem | Heikki Tuuri | 21 Jan |
