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.
执行简单的选择语句不会显示返回的行数。
它显示"Query executed successfully"但不显示返回的行数。
"Query executed successfully"
单击结果选项卡旁边的消息选项卡。
应该说类似(100 rows affected)
(100 rows affected)
状态栏中的行计数默认显示,只要确保它的标志是打开的。
您可以在下一个导航中检查它:-
Tools> Options> Text Editor> Editor Tab and Status Bar。
Tools
Options
Text Editor
Editor Tab and Status Bar
旧帖子,但艾哈迈德有大部分答案。对我来说,我必须先将“包括行数”设置为“假”。然后开始显示其他正常状态结果。将其设置回真会返回行数。