Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
NOT LIKE '' works, but LIKE '' doesn't? How do I test for a NULL? |
Author |
Message |
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-03-15 08:52:18 |
I am testing your product for a QuickBooks to SQL import/export application. When I run the following query it runs correctly -:
SELECT Name, IsActive FROM ItemInventory WHERE CustomFieldColor NOT LIKE ''
However, the following query (Without the NOT)
SELECT Name, IsActive FROM ItemInventory WHERE CustomFieldColor LIKE ''
does not work. How can I search for Items where the Color custom field is empty?
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-03-15 08:55:26 |
What you are really trying to do here is show all inventory items that have NULL color. This is done by using the SQL Statement:
SELECT Name, IsActive FROM ItemInventory WHERE CustomFieldColor IS NULL
|
|
|
|
|