what would cause a linked server to return a limited amount of data?

守給你的承諾、 提交于 2019-12-05 10:39:29

Option 1, disable pre-fetch

Sometimes, disabling pre-fetch will solve problems like this.

You can disable the prefetch by clearing the "Enable pre-fetch of data for queries" check box in the Performance tab when creating a DSN or adding "PREFETCH=0" to the connection string when creating a DSN-less connection.

More on this:

In the ODBC Data Source Administrator panel on the server, configure your linked server from System DSN. Under the Performance tab, uncheck the box 'Enable pre-fetch of data for queries'. OK, OK. Delete and re-create your linked server in SQL Management Studio.

Source

Option 2, Allow inprocess

  • Go to Linked Servers
  • Providers
  • MSOLAP (or similar)
  • Properties
  • Make sure "Allow inprocess" is enabled. Even if it is, turn it off. Save. And then turn it back on. Sometimes resetting this can help.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!