mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Adding more tsql keywords and functions for completion (#851)
This commit is contained in:
@@ -32,11 +32,15 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
{
|
||||
"abs",
|
||||
"acos",
|
||||
"action",
|
||||
"add",
|
||||
"all",
|
||||
"alter",
|
||||
"and",
|
||||
"any",
|
||||
"apply",
|
||||
"approx_count_distinct",
|
||||
"are",
|
||||
"as",
|
||||
"asc",
|
||||
"ascii",
|
||||
@@ -44,12 +48,14 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"at",
|
||||
"atan",
|
||||
"atn2",
|
||||
"authorization",
|
||||
"avg",
|
||||
"backup",
|
||||
"begin",
|
||||
"between",
|
||||
"binary",
|
||||
"bit",
|
||||
"both",
|
||||
"break",
|
||||
"bulk",
|
||||
"by",
|
||||
@@ -57,6 +63,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"cascade",
|
||||
"case",
|
||||
"cast",
|
||||
"catalog",
|
||||
"catch",
|
||||
"ceiling",
|
||||
"char",
|
||||
@@ -68,13 +75,19 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"close",
|
||||
"clustered",
|
||||
"coalesce",
|
||||
"collate",
|
||||
"collation",
|
||||
"column",
|
||||
"columnstore",
|
||||
"commit",
|
||||
"compute",
|
||||
"concat",
|
||||
"concat_ws",
|
||||
"connect",
|
||||
"constraint",
|
||||
"constraints",
|
||||
"contains",
|
||||
"containstable",
|
||||
"continue",
|
||||
"convert",
|
||||
"cos",
|
||||
@@ -83,6 +96,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"count_big",
|
||||
"create",
|
||||
"cross",
|
||||
"current",
|
||||
"current_date",
|
||||
"current_timestamp",
|
||||
"current_user",
|
||||
@@ -104,6 +118,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"day",
|
||||
"days",
|
||||
"dbcc",
|
||||
"deallocate",
|
||||
"dec",
|
||||
"decimal",
|
||||
"declare",
|
||||
@@ -117,6 +132,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"disabled",
|
||||
"disk",
|
||||
"distinct",
|
||||
"distributed",
|
||||
"double",
|
||||
"drop",
|
||||
"drop_existing",
|
||||
@@ -127,6 +143,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"encrypted",
|
||||
"end",
|
||||
"end-exec",
|
||||
"escape",
|
||||
"except",
|
||||
"exec",
|
||||
"execute",
|
||||
@@ -134,12 +151,14 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"exit",
|
||||
"exp",
|
||||
"external",
|
||||
"false",
|
||||
"fast_forward",
|
||||
"fetch",
|
||||
"file",
|
||||
"filegroup",
|
||||
"filename",
|
||||
"filestream",
|
||||
"fillfactor",
|
||||
"filter",
|
||||
"first",
|
||||
"float",
|
||||
@@ -147,6 +166,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"for",
|
||||
"foreign",
|
||||
"format",
|
||||
"freetexttable",
|
||||
"from",
|
||||
"full",
|
||||
"function",
|
||||
@@ -167,22 +187,29 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"hidden",
|
||||
"hierarchyid",
|
||||
"holdlock",
|
||||
"hour",
|
||||
"hours",
|
||||
"identity",
|
||||
"identity_insert",
|
||||
"identitycol",
|
||||
"if",
|
||||
"iif",
|
||||
"image",
|
||||
"immediate",
|
||||
"in",
|
||||
"include",
|
||||
"index",
|
||||
"inner",
|
||||
"input",
|
||||
"insensitive",
|
||||
"insert",
|
||||
"instead",
|
||||
"int",
|
||||
"integer",
|
||||
"intersect",
|
||||
"interval",
|
||||
"into",
|
||||
"is",
|
||||
"isdate",
|
||||
"isnull",
|
||||
"isnumeric",
|
||||
@@ -195,6 +222,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"left",
|
||||
"len",
|
||||
"level",
|
||||
"like",
|
||||
"lineno",
|
||||
"load",
|
||||
"local",
|
||||
@@ -206,15 +234,20 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"lower",
|
||||
"ltrim",
|
||||
"masked",
|
||||
"match",
|
||||
"max",
|
||||
"maxdop",
|
||||
"merge",
|
||||
"message",
|
||||
"min",
|
||||
"minute",
|
||||
"modify",
|
||||
"module",
|
||||
"month",
|
||||
"move",
|
||||
"names",
|
||||
"namespace",
|
||||
"national",
|
||||
"native_compilation",
|
||||
"nchar",
|
||||
"next",
|
||||
@@ -236,7 +269,9 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"offsets",
|
||||
"on",
|
||||
"online",
|
||||
"only",
|
||||
"open",
|
||||
"openquery",
|
||||
"openrowset",
|
||||
"openxml",
|
||||
"option",
|
||||
@@ -257,8 +292,10 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"period",
|
||||
"persisted",
|
||||
"pi",
|
||||
"pivot",
|
||||
"plan",
|
||||
"policy",
|
||||
"position",
|
||||
"power",
|
||||
"precision",
|
||||
"predicate",
|
||||
@@ -295,6 +332,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"reorganize",
|
||||
"replace",
|
||||
"replicate",
|
||||
"replication",
|
||||
"required",
|
||||
"restart",
|
||||
"restore",
|
||||
@@ -321,6 +359,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"schemabinding",
|
||||
"scoped",
|
||||
"scroll",
|
||||
"second",
|
||||
"secondary",
|
||||
"security",
|
||||
"select",
|
||||
@@ -334,12 +373,15 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"set",
|
||||
"sets",
|
||||
"setuser",
|
||||
"shutdown",
|
||||
"sign",
|
||||
"simple",
|
||||
"sin",
|
||||
"size",
|
||||
"smallint",
|
||||
"smallmoney",
|
||||
"snapshot",
|
||||
"some",
|
||||
"soundex",
|
||||
"space",
|
||||
"sql",
|
||||
@@ -371,6 +413,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"take",
|
||||
"tan",
|
||||
"target",
|
||||
"temporary",
|
||||
"then",
|
||||
"throw",
|
||||
"time",
|
||||
@@ -383,8 +426,10 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"translate",
|
||||
"trigger",
|
||||
"trim",
|
||||
"true",
|
||||
"truncate",
|
||||
"try",
|
||||
"try_convert",
|
||||
"tsql",
|
||||
"type",
|
||||
"uncommitted",
|
||||
@@ -392,6 +437,8 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"union",
|
||||
"unique",
|
||||
"uniqueidentifier",
|
||||
"unknown",
|
||||
"unpivot",
|
||||
"update",
|
||||
"updatetext",
|
||||
"upper",
|
||||
@@ -404,6 +451,7 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"var",
|
||||
"varchar",
|
||||
"varp",
|
||||
"varying",
|
||||
"version",
|
||||
"view",
|
||||
"waitfor",
|
||||
@@ -413,10 +461,13 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
"with",
|
||||
"within",
|
||||
"without",
|
||||
"work",
|
||||
"write",
|
||||
"writetext",
|
||||
"xact_abort",
|
||||
"xml",
|
||||
"year",
|
||||
"zone",
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user