SQL statement not working – “Operand type clash: date is incompatible with int’

Your date format is incorrect, it needs to be in quotes and rearranged slightly.

WHERE        (Date = 'Year-Month-day')

or rather

WHERE        (Date = '2008-09-07')

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)