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
|
|
IFNULL Returns no records in demo |
Author |
Message |
|
Posted : 2007-10-22 16:54:27 |
The query:
Select Name,Fax from Employee where Fax is Null
returns the appropriate data, but if I add:
Select Name, {fn IFNULL(Fax, 'Missing Fax')} from Employee where Fax is Null
The result set is blank (0 rows). Please help. Also, is IFNULL(Fax, Name) supported, or must parm2 be a literal?
Thanks, Landy |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-10-23 08:28:50 |
Sorry, it works for me......
Select Name, {fn IFNULL(Fax, 'Missing Fax')} as Fax from Employee where Fax is Null
Check that you're using QODBC v8.00.00.234 (or higher).
|
|
|
|
|