Set NOCount On

 

在考虑写一个sql分页的时候,看到的每个分页的例子中差不多就有“set nocount on” 这句话,到底嘛意思呢
nocount “没有数量” on/off 开关的意思 set 设置的意思
set nocount on 设置没有数量开:

 

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

 

 

posted @ 2018-05-23 11:22  ProZkb  阅读(728)  评论(0)    收藏  举报