adding correct image.
getting source side error Can anyone suggest me solution for this
Failure happened on 'Source' side. 'Type=Microsoft.Data.SqlClient.SqlException,Message=An expression of non-boolean type specified in a context where a condition is expected, near 'updated'.,Source=Framework Microsoft SqlClient Data Provider,'
Azure Data Factory
2 answers
Sort by: Most helpful
-
-
J N S S Kasyap 3,380 Reputation points Microsoft External Staff Moderator
2025-05-21T13:36:43.4766667+00:00 Hi @santosh
An expression of non-boolean type specified in a context where a condition is expected, near 'updated'
This indicates a SQL syntax issue in your source query. This typically occurs when a non-boolean expression is used in a context that expects a boolean condition, such as a WHERE clause.
Review the source query or filter expression in your ADF copy activity, and ensure that the WHERE clause contains a valid boolean condition.
Please help me answer the below questions we can provide the best possible solution
- Can you share the exact source SQL query or filter expression you're using in the copy activity?
- Which part of the query is causing the error (e.g., the WHERE clause or a dynamic expression)?
- Have you recently made any changes to the source query or the schema that might have introduced this error?