From 940466f1447f5f68d71d5e8618c97c6e250d4461 Mon Sep 17 00:00:00 2001 From: Eshwar Andhavarapu Date: Thu, 23 Jun 2016 13:30:24 +0200 Subject: [PATCH] Addition of USE EXEC OPENQUERY syntax USE is used to select a database in SQL Server when a database is connected to. EXEC and OPENQUERY are both used to get data on other servers. I have grouped this with the VALUES keyword as EXEC/OPENQUERY are dealing with similar data. I have also added USE into this dictionart as I felt it is cleaner than adding into dictionary keyword.other.DML.sql but let me know if you disagree. --- extensions/sql/syntaxes/SQL.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sql/syntaxes/SQL.plist b/extensions/sql/syntaxes/SQL.plist index 04dedd3fd8425..7051a49f7b0af 100644 --- a/extensions/sql/syntaxes/SQL.plist +++ b/extensions/sql/syntaxes/SQL.plist @@ -239,7 +239,7 @@ match - (?i:\bvalues\b) + (?i:\b(values|use|exec|openquery)\b) name keyword.other.DML.II.sql