set nocount on

在考虑写一个sql分页的时候,看到的每个分页的例子中差不多就有“set nocount on” 这句话,到底嘛意思呢

nocount “没有数量”  on/off 开关的意思  set  设置的意思

set nocount on 设置没有数量开:

 set nocount off 设置没有数量管:也就是显示有数量

 

猜你喜欢

转载自www.cnblogs.com/ZkbFighting/p/9075961.html
set