MSQLSMS 中用蓝色和粉红色着色的单词的含义 [英] Meaning of words colored with Blue and Pink in MSQLSMS
本文介绍了MSQLSMS 中用蓝色和粉红色着色的单词的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Microsoft SQL Management Studio 突出显示了一些特殊词,将它们用蓝色或粉红色着色.我想知道哪个规则决定了要使用的颜色.
Microsoft SQL Management Studio highlights some special words coloring them in blue or in pink. I would like to know which rule determines the color to use.
例如,考虑以下两个语句:
For example, consider the two following statements:
SELECT * FROM myTable
UPDATE myTable SET myFlag = 'X'
UPDATE
为粉红色,而 SET
、SELECT
、&FROM
为蓝色.
UPDATE
is in pink while SET
, SELECT
, & FROM
are in in blue.
推荐答案
Color | Category
----------------|-------------------------------------
Red | SQL string
Dark green | Comment
Black on silver | SQLCMD command
Magenta | System function
Green | System table, view, or table-valued function.
Blue | Keyword
Teal | Line numbers or template parameter
Maroon | SQL Server stored procedure
Dark gray | Operators
这篇关于MSQLSMS 中用蓝色和粉红色着色的单词的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文