更新时间:2023-02-07 12:22:19
SMO做了很多奇怪的东西......在后台,这是你所支付的治疗服务器/数据库对象在一个面向对象的方式能力的价格。
既然你不使用SMO的OO capabilites,你为什么不只是忽略SMO完全,只是通过正常的ADO运行脚本?
SMO does lots of weird .. stuff in the background, which is a price you pay for ability to treat server/database objects in an object-oriented way.
Since you're not using the OO capabilites of SMO, why don't you just ignore SMO completely and simply run the script through normal ADO?