Forum Discussion
Using Date Range in SQL Statement to ODBC Data Source
- 2 months ago
Hi mhender,
Thank you for reaching out to Microsoft Fabric Community.
The error here is likely because ILCRDJ is stored as a text field not as a date datatype, so it cannot be compared directly with CURDATE().
Please convert the value to a date value first before comparing it, or use the same date format that is stored in the ILCRDJ for the comparison.
Thanks and regards,
Anjan Kumar Chippa
Hi mhender,
Thank you for reaching out to Microsoft Fabric Community.
The error here is likely because ILCRDJ is stored as a text field not as a date datatype, so it cannot be compared directly with CURDATE().
Please convert the value to a date value first before comparing it, or use the same date format that is stored in the ILCRDJ for the comparison.
Thanks and regards,
Anjan Kumar Chippa