ODBC:用于 MS Access 的 SQL Server 2008 驱动程序

发布于 2024-09-28 18:04:16 字数 299 浏览 2 评论 0原文

我通常使用 Access 2003 - 2007 中的前端和 SQL Server 2008 中的后端来制作应用程序。当我创建 ODBC 来链接 Access 中的表时,我在 Windows XP PC 上的 ODBC 数据源管理页面中有两个选择:

  • Server 2008: SQL Server Native Client 10.0 v.2007.100.2531.00
  • SQL Server v. 2000.85.1132.00

在仅装有 Access 2000 的 PC 上,哪一个应该更好且兼容?

I usually make applications with the front end in Access 2003 - 2007 and the back-end on SQL Server 2008. When I create an ODBC to link the tables in access I have two choices in the ODBC Data Source Administration page on my Windows XP PC:

  • Server 2008: SQL Server Native Client 10.0 v.2007.100.2531.00
  • SQL Server v. 2000.85.1132.00

Which of these should be better and compatible on PCs with just Access 2000?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

放赐 2024-10-05 18:04:16

本机客户端支持 sql server 2008(我相信还有 2005)的一些附加(更高级?)功能。

但是,开箱即用后,您更有可能找到计算机上安装的标准 SQL Server 驱动程序。

除非您使用某种类型的安装程序,或者某些其他软件安装此本机客户端驱动程序,否则您最好坚持使用默认的非本机驱动程序以获得最大兼容性。而且,有一个简单的问题,即标准驱动程序很可能已经安装在您的客户端计算机上。

因此,默认情况下不会安装新的本机驱动程序,并且您可能会在使用非本机默认驱动程序时运气更好。使用新的本机驱动程序时,我在导出日期列时遇到了一些问题(现在不记得问题是什么,但确实存在问题)。

请注意,您的连接字符串与本机驱动程序略有不同,如果您有一些重新链接代码,则该代码在没有本机驱动程序的计算机上将失败。因此,虽然您的计算机上有这两种软件,但您不能假设其他计算机上也会出现这种情况。因此,您应该有特殊且充分的理由来选择/使用 2008/2005 年新的本机驱动程序,但如果没有,则使用标准驱动程序。

The native client has support for some additional (more advanced?) features of sql server 2008 (and 2005 I believe).

However, out of the box, you are far more likely to find the standard sql server driver installed on the computer.

Unless you are using some type of installer, or some other software installs this native client driver, then you are best to stick with the default non native driver for maximum compatibility. And, there is just the plain issue that the standard driver is most likely to be already installed on your client side computer.

So, that new native driver not going to be installed by default, and you likely have somewhat better luck with the non native default driver. I had a few issues come up with exporting date columns when using the new native driver (can't recall just right now what the issue was, but there was an issue).

Note that your connection strings are/will be slightly different for the native driver, and if you have some re-link code, that code will fail on computers without the native driver. So, while you have both on your computer, you can't assume this will be the case on other computers. So, you should have special and good reaons to choose/use the new native drivers for 2008/2005, but if not, then use the standard ones.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文