从 axapta 通过 odbc 执行存储过程
我们当前正在从 axapta ( ax 2009 ) 执行一个存储过程 ( ms sql 2008 )。 sp 确实相当大,并且混淆效果是,如果通过 odbc 触发,sp 不起作用。 通过 ssms 执行的简单“exec sp ...”工作正常。 如果我们删除 sp 中最后执行的一些查询,sp 也可以从 ax 触发。 尽管如此,被删除的查询在“单一模式”下工作正常。
通过 odbc 执行存储过程有什么限制吗?我什至不认为它与 axapta 有任何关系....
提前感谢您的帮助!
we're currently executing a stored procedure ( ms sql 2008 ) from axapta ( ax 2009 ).
the sp is indeed quite large and the obfuscating effect is, that the sp doesn't work, if triggered via odbc.
a simple "exec sp ..." executed via ssms works fine.
if we remove some of the last queries executed in the sp, the sp also works fired from ax.
nevertheless, the queries which are removed are working fine in "single mode".
are there ANY limitations for executing stored procedures via odbc? i even don't think that it has anything to do with axapta....
thanks for help in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
固定的。
在存储过程的最开始添加“set nocount on”,行为符合预期。
似乎返回受影响的行结果存在限制。
fixed.
adding "set nocount on" at the very start of the stored procedure, behaviour is as intended.
seems, that there IS a limit for returning affected line results.