I need some help. I´m trying to load data from an ODBC, but I don´t want to load null values. I´m trying to use a where clause in the script, but I don´t know how to write the sql-qeury.
Thanks in advance
To filter null values in the database layer when reading from ODBC, it depends on the database vendor you use.
We use pervasive.
Check this one PostgreSQL - NULL Values
yes query differs based on database. which one are you using marcci22
Where Len(PrimaryKey)>0 or Not ISNULL(PrimaryKey)
SELECT * FROM TABLE_NAME WHERE COLUMN_NAME IS NOT NULL
Replace TABLE_NAME with your table name and COLUMN_NAME with your column name
You can try IS NOT NULL clause in WHERE like below
WHERE FullName IS NOT NULL;
WHERE Len(FullName) > 0;
Retrieving data ...