Delphi 2010中的BDE没有SERVER NAME参数吗?
我们正在迁移一个用 Delphi 5 编写的相当大的应用程序(仍然让客户使用这个旧版本),该应用程序使用 BDE 连接到 SQL Server。已确定的迁移路径是首先从 Delphi 5 到 Delphi 2010,然后从 BDE 到 dbExpress(或 dbGO,尚未确定)。
问题是Delphi 2010中的BDE似乎没有SERVER NAME参数! (您需要设置要连接的主机)并且它似乎都没有替代品。
我尝试将其强制放入参数字符串中,但未成功。我仍然不敢相信这一点,但也许我错过了一些不好的东西。
We are migrating a pretty big application crafted in Delphi 5 (still getting customers using this old versions) that uses BDE to connect to a SQL Server. The decided path to migrating is first Delphi 5 to Delphi 2010, then BDE to dbExpress (or dbGO, still undecided).
The problem is that BDE in Delphi 2010 doen't seems to have SERVER NAME parameter! (the one you need to set the host to connect to) and it neither seems to have a replace for that.
I've tried to force it in the strings of parameters unsuccesfuly. I still can not believe this, but maybe I'm missing something bad.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您将 Program Files\Common files\Borland shared\BDE 中的旧 BDE 文件复制到新文件上,您将可以通过 BDE 再次访问 SQL 服务器。我已经做了一个快速测试,可以毫无问题地在 Delphi 2010 IDE 中访问我的 Firebird 2.1。我仍然需要测试我的应用程序,即 Delphi 6。所以我不能给出最终结论,但看起来还不错。继续使用 BDE 是否明智可能值得怀疑,但至少基本上它仍然有效。
If you copy the old BDE files over the new ones in Program Files\Common files\Borland shared\BDE, you will have access again to SQL servers through BDE. I have done a quick test, and could access my Firebird 2.1 in Delphi 2010 IDE without problem. I still will have to test my application, which was Delphi 6. So I can't give a final conclusion, but it looks OK. If it is wise to continue with BDE maybe questionnable, but at least basically it still works.
BDE 对 SQL 链接的支持已从 BDE 中删除。 BDE 中的 SQL Server 使用 SQL 链接。
该公告于 2002 年在这篇文章中发布:
http://edn.embarcadero.com/article/28688
BDE support for SQL Links was removed from the BDE. SQL Server in the BDE was using SQL Links.
The announcement was made in 2002 in this article:
http://edn.embarcadero.com/article/28688