You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy the following text to vscode and set language mode = SQL.
Then cast your eyes down the list for some examples.
-- Control Flow-- highlighted
IF
BEGIN
END
THROW
TRY
CATCH
-- not highlighted
ELSE
RETURN
WAITFOR
WHILE
GOTO
EXEC -- highlighted
EXECUTE -- not highlighted
COLLATE -- not highlighted-- DDLON DELETE CASCADEONUPDATE CASCADE, -- second CASCADE not highlighted
DEFAULT -- not highlightedNOT NULL-- StatementsBEGIN TRANSACTION
BEGIN DISTRIBUTED TRANSACTION -- DISTRIBUTED not highlighted
SAVE TRANSACTION -- SAVE not highlighted COMMIT TRANSACTION
COMMIT WORKROLLBACK TRANSACTION
ROLLBACK WORK-- FunctionsCONVERT
CAST -- CAST is blue and CONVERT is yellow?-- Date and time functionsCURRENT_TIMESTAMP-- CURRENT_TIMESTAMP is yellow, @@DATEFIRST blue others nothing?
DATEDIFF
@@DATEFIRST
DATENAME
SYSDATETIME
From @bruce3 on December 11, 2016 8:43
Commit 7ba55c5860b152d999dda59393ca3ebeb1b5c85f
Date 2016-11-21T22:14:18.217Z
Shell 1.3.8
Renderer 52.0.2743.82
Node 6.5.0
Ubuntu 16.04
Steps to Reproduce:
Copy the following text to vscode and set language mode = SQL.
Then cast your eyes down the list for some examples.
Copied from original issue: microsoft/vscode#17039
The text was updated successfully, but these errors were encountered: