Forum Discussion
Query crashes when changing for an older date
- Anonymous3 years ago
Hi Foguete ,
From the error message it seems that this is a data type conversion error. I found three similar threads, please see if they help:1. Check the field data type first and query within the desired data type:
sql server - Data conversion or data mapping error in SQL
2. join between mismatching data types:
3. sql - SQL0802 - Data Conversion or Data Mapping Error
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi Foguete ,
From the error message it seems that this is a data type conversion error. I found three similar threads, please see if they help:
1. Check the field data type first and query within the desired data type:
sql server - Data conversion or data mapping error in SQL
2. join between mismatching data types:
3. sql - SQL0802 - Data Conversion or Data Mapping Error
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
- Foguete3 years agoHelper I
Thank you !
Indeed, the problem was coming from the only division in the SQL Query.
So to solve I added :
WHERE the_Dividing_Column <> 0