I have a stored proc that contains a query to a linked SQL server. I can execute the stored proc in query analyzer without error and get all the results. However, when accessing the report with Crystal Reports, which accesses the server and sp via ODBC, I receive the error "Heterogeneous queries require ANSI_NULLS and warnings be set for the connection."
I have added the set ANSI_NULLS and WARNINGS to ON within the stored proc, but Crystal (version 9) still give me an error, so it seems to be something in Crystal or the ODBC Connection itself. If I mark the ansi settings on the ODBC, I get more errors.
I have added the set ANSI_NULLS and WARNINGS to ON within the stored proc, but Crystal (version 9) still give me an error, so it seems to be something in Crystal or the ODBC Connection itself. If I mark the ansi settings on the ODBC, I get more errors.