Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2282
  • Last Modified:

Informix SQL "is null" syntax

I have a table column that contains blank values and null values I want it to only display blank values

I am used to SQL syntax not informix I believe the below would work in SQL how can it work in informix?

select column1, column2, IS NULL(column3, "") as 'column3 no nulls'
from table1
0
JCTDD
Asked:
JCTDD
  • 2
1 Solution
 
cyberkiwiCommented:
select column1, column2, NVL(column3, "") as 'column3 no nulls'
from table1
0
 
cyberkiwiCommented:
The Ansi SQL92 standard is to use COALESCE, but not sure which version of Informix you are using or whether that version supports COALESCE.
0
 
kunal_p_singhCommented:
select column1, column2, NVL(column3, "") as 'column3 no nulls'
from table1
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now