Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

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

Forum : IFNULL Returns no records in demoSearch Forum

Forum Home > FlexODBC - ODBC Driver for DataFlex Embedded DBMS > FlexODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 IFNULL Returns no records in demo 
 Author   Message 
  Landy 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-10-22 
 Profile
 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

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 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).

 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to