有很好的理由使用大写的SQL关键字吗? [英] Is there a good reason to use upper case for SQL keywords?

查看:568
本文介绍了有很好的理由使用大写的SQL关键字吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认似乎是大写,但是真的有任何理由为关键字使用大写字母吗?我开始使用大写,因为我只是试图匹配什么SQL Server给我,当我试图创建一些东西,像一个新的存储过程。但是,然后,我感到可怕的是我的宝宝(第5)手指,总是需要按住 Shift 按钮,所以我停止使用大写。任何理由为什么我应该回到大写?

The default seems to be upper case but is there really any reason to use upper case for keywords? I started using upper case because I was just trying to match what SQL Server gives me whenever I tried to create something, like a new stored procedure. But then, I feel terrible for my baby (5th) finger that always needs to hold down the Shift button so I stopped using upper case. Any reason why I should go back to upper case?

编辑:感谢答案家伙。我不是编程还没有回来的时候,COBOL是国王,所以我不知道这一点。从现在开始我会坚持小写。

Thanks for the answers guys. I wasn't programming yet back in the days when COBOL was king so I wasn't aware of this. I'll stick with lower case from now on.

推荐答案

这只是一个风格问题,可能源于编辑没有做代码着色的日子。

It's just a matter of style, probably originating in the days when editors didn't do code colouring.

我喜欢所有大写字母,但我现在倾向于所有大写字母。

I used to prefer all upper case, but I'm now leaning towards all lower.

这篇关于有很好的理由使用大写的SQL关键字吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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