可以有太多评论减慢storedprocedure中的输出结果吗? [英] Can too many comments slow down the output result in storedprocedure?

查看:139
本文介绍了可以有太多评论减慢storedprocedure中的输出结果吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在现有的开发人员中评论了许多比较实际命令的行。



我尝试过:



/ *等等等等。这里注释了很多代码.. * /

In existing developer commented a lot of lines comparing actual command.

What I have tried:

/* blah blah. A lot of codes are commented here..*/

推荐答案

不,或不重要。存储过程在您第一次运行时会被编译,并且此时将有效地删除注释。它们可能 - 无限小 - 第一次运行缓慢,但之后根本没有。
No, or not significantly. Stored procedures are compiled when you first run them, and comments will be effectively thrown away at that point. They may - infinitesimally - slow that first run, but not at all after that.


这篇关于可以有太多评论减慢storedprocedure中的输出结果吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆