是“版本" TRANSACT-SQL中的保留字? (显示蓝色,但不在保留字列表中) [英] Is "Version" a Reserved word in TRANSACT-SQL? (Shows Blue but not in Reserved word list)

查看:153
本文介绍了是“版本" TRANSACT-SQL中的保留字? (显示蓝色,但不在保留字列表中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天在写Stored Procedure并写了一行:

I was writing a Stored Procedure today and Wrote the line:

SELECT pv1.Version FROM depl...

,单词Version变成蓝色,如下所示:

and the word Version turned blue shown below:

所以我认为这是一个保留字,所以在这里进行了一些调查:

so I assumed it was a reserved word, so did some investigating here:

保留关键字(TRANSACT-SQL)

但是在列表中找不到单词Version.

But could not find the word Version in the list.

Version是SQL保留字,如果不是,为什么我的字Version显示为蓝色?我正在使用SQL Management Studio 2012

Is Version a SQL reserved word, and if not why is my word Version displaying blue? I am using SQL Management Studio 2012

推荐答案

如您所正确指出的,Version不在官方保留字列表中.它只是SQL Server Management Studio的功能",以蓝色显示.

As you rightly noted, Version is not in the official reserved word list. It's just a "feature" of SQL Server Management Studio that is showing it in blue.

有很多这样的词.还有一些:

There are many words like this. Here's a few more:

DESCRIPTION
SERVER
INSTEAD

甚至还有一些显示为粉红色的单词,例如LOOKUP.

There are even some words that show as pink such as LOOKUP.

这篇关于是“版本" TRANSACT-SQL中的保留字? (显示蓝色,但不在保留字列表中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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