[Microsoft][ODBC SQL Server Driver][SQL Server]Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.
The above error message periodically occurs during a select statement in a stored procedure that has a REPLACE funtion in it. However, the error only occurs *sometimes*, not every time it runs.
By default, ANSI_WARNINGS is set to off in the database. Should I set ANSI_WARNINGS to on in the stored procedure? What are the ramifications of doing so... considering that this error only occurs once in a while? Seems odd.
Thank you
The above error message periodically occurs during a select statement in a stored procedure that has a REPLACE funtion in it. However, the error only occurs *sometimes*, not every time it runs.
By default, ANSI_WARNINGS is set to off in the database. Should I set ANSI_WARNINGS to on in the stored procedure? What are the ramifications of doing so... considering that this error only occurs once in a while? Seems odd.
Thank you