通过设置如下参数,在执行完SQL语句后,在执行结果中将显示相应的时间:
set statistics profile onset statistics io onset statistics time ongo<...SQL语句...>goset statistics profile offset statistics io offset statistics time off
参考:http://database.51cto.com/art/201009/224217.htm
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3