TSQL OLE (com) 对象

发布于 2024-07-12 22:02:00 字数 95 浏览 13 评论 0原文

从 tsql 调用 ole 对象是否存在任何固有问题? 我遇到了一个问题,我想仅使用存储过程来解决,与使用基于 clr 的语言编写它相比,使用 ole 对象是否需要担心什么?

Are there any inherent problems with calling an ole object from tsql? I have been posed with a problem that I would like to solve solely using a stored procedure, is there anything I need to worry about with using a ole object as opposed to writing it in a clr based language?

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

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

发布评论

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

评论(2

谈情不如逗狗 2024-07-19 22:02:00

首先确保您不能将其作为基于集合的操作来执行,记住完成后释放它们,并记住这根本不会是可移植的(但 clr 代码也不会)。

Just make sure you can't do it as a set-based operation first, remember to free them when you're done, and remember that this isn't going to be at all portable (but then neither would the clr code).

維他命╮ 2024-07-19 22:02:00

Com 对象主要是本机代码,如果您调用存在内存泄漏的内容,则可能会导致问题

Com objects are mostly native code, if you call something that has a memory leak you could cause problems down the road

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