Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们目前正在执行来自 axapta ( ax 2009 ) 的存储过程 ( ms sql 2008 )。sp 确实很大,并且混淆效果是,如果通过 odbc 触发,则 sp 不起作用。通过 ssms 执行的简单“exec sp ...”工作正常。如果我们删除在 sp 中执行的一些最后的查询,sp 也可以从 ax 中触发。尽管如此,被删除的查询在“单一模式”下工作正常。
通过 odbc 执行存储过程是否有任何限制?我什至不认为它与axapta有任何关系......
提前感谢您的帮助!
固定的。在存储过程的最开始添加“set nocount on”,行为符合预期。似乎,返回受影响的行结果是有限制的。