2
|
John Lemp Chris Heald · 技术社区 · 15 年前 |
![]() |
1
5
不知道这是否有效,但您是否尝试过将nocount设置为on(然后在最终查询之前将nocount设置为off)? 更新:这篇博文和评论似乎表明这确实有效: http://petesbloggerama.blogspot.com/2006/10/note-to-self-set-nocount-on-not.html |
![]() |
2
0
不,在ADO.NET或SQL Server中无法重写或更改该行为。 唯一的选择是捕获感兴趣的行数,并将其放入变量中并返回。 |
![]() |
jchristo · 释放时服务炸弹爆炸[重复] 7 年前 |
![]() |
Rod · 检查DataTable是否存在列以及是否为null 7 年前 |
![]() |
user1451111 · 如何在ADO代码中存储大型查询。NET项目 7 年前 |