FECHA_RECEPCION is a TIMESTAMP field, so comparing directly with CURRENT_DATE (DATE) always returns 0 rows in Firebird. Cast to DATE first. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
FECHA_RECEPCION is a TIMESTAMP field, so comparing directly with CURRENT_DATE (DATE) always returns 0 rows in Firebird. Cast to DATE first. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>