Environment: AI 6.1 accessing DB2 9.1 on Windows
I get this error some times
Dynamic AI can't open the list Movgrupoprod - first 20 columns:
Connecting to the database and getting results seems ok!, the executed SQL seems valid!
However a problem arose during preparation of the Report output (reference: X4).
DAI 0002370
To determine when it occours, I removed all fields from the report construction, and I added the fields again one by one.
The error occours when I add a DATE field, that has empty values.
This field on DB2 is not flaged as NULLABLE.
Selecting the table by some other application, this date field returns with the following value "0001-01-01". This date field is not required on this table. That's why some rows has empty date values on this field. It's NOT NULL date value, because if I run this SQL:
- Code: Select all
SELECT * FROM PRODUCTS WHERE LAST_SALE IS NULL
It returns no records.
But this one WHERE LAST_SALE = '0001-01-01', brings all records that has not a valid date on this field.
Is There a workaround on it?
Thanks
Samuel Pizarro
Estância Árvore da Vida