UnsolvedCoding
Technical User
I am running into problems with the following line of code. I don't understand why, its a direct copy from a previous version of the same code and worked well for sometime.
I pulled the batches from the table this is using and there are nulls present.
This is the code -
where isnull(batch,'''') <> ''''
This is the error -
Syntax error converting the varchar value ''' to a column of data type int.
I pulled the batches from the table this is using and there are nulls present.
This is the code -
where isnull(batch,'''') <> ''''
This is the error -
Syntax error converting the varchar value ''' to a column of data type int.