I have a application in VB using AS400 and SQL Server. The queries I run on AS400 are very slow. Is it possible to run querries on SQL Server using stored procedures? If possible will it increase the performance?
You can create a linked server to the 400, and invoke AS/400 queries in a SQL Server stored proc. You will need to use SNA server or Host Integration Server to do this because linked servers require an OLEDB data source, and to use OLEDB to hit the 400, you need SNA server.
I don't believe that this will speed up your access to the AS/400, however. Execution plans for stored procedures are only stored in SQL Server. SQL Server does not know how to optimize for the 400...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.