Smartlist Builder with a View
Smartlist Builder with a View
(OP)
I have a view within a GP database that selects data from a separate data warehouse server in our environment. The select statement of the view works within Query Analyzer, but returns the following error when trying to set it up for use within Smartlist Builder:
GPS Error: 58
SQL Error: 7405 [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.
These options are set on the database, but having them off or on doesn't affect the outcome. Has anyone run into this?
FYI we are running GP 8.0 and SQL 2000
Thanks.
GPS Error: 58
SQL Error: 7405 [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.
These options are set on the database, but having them off or on doesn't affect the outcome. Has anyone run into this?
FYI we are running GP 8.0 and SQL 2000
Thanks.
RE: Smartlist Builder with a View
The Microsoft Dynamics GP application turns them off as this is how Dexterity wants the settings.
There is a method with stored procedures to have a wrapper procedure which turns the settings on and then calls the actual procedure.
But I know no work around that would work for a view. Can you bring the data to the same server?
David Musgrave [MSFT]
Escalation Engineer - Microsoft Dynamics GP
Microsoft Dynamics Support - Asia Pacific
Microsoft Dynamics (formerly Microsoft Business Solutions)
http://www.microsoft.com/Dynamics
http://blogs.msdn.com/DevelopingForDynamicsGP
Any views contained within are my personal views and not necessarily Microsoft policy.
This posting is provided "AS IS" with no warranties, and confers no rights.