I\'ve got a query that I\'ve just found in the database that is failing causing a report to fall over. The basic gist of the query:
Select * From table Wher
Not sure if this helps you, but I did read somewhere that incorrect conversion using CONVERT will always generate error in SQL. So I think it would be better to use CASE in where clause to avoid having CONVERT to run on all rows