atom / language-sql

SQL package for Atom
Other
38 stars 50 forks source link

Addition of T-SQL syntax: USE, GO, INTO, EXEC, OPENQUERY #36

Closed gontadu closed 8 years ago

gontadu commented 8 years ago

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.

50Wliu commented 8 years ago

I have no idea what DML even stands for but if you think USE fits in with keyword.other.DML.sql more than keyword.other.DML.II.sql then feel free to move it.

gontadu commented 8 years ago

From my understanding DML is the superset of languages like SQL (languages that sound like SELECT... FROM, etc.) So for now until someone more educated in this field corrects us, let's leave in DML.II

gontadu commented 8 years ago

Any update here?

50Wliu commented 8 years ago

Sorry, was on vacation.

So for now until someone more educated in this field corrects us, let's leave in DML.II

Sounds like a good compromise.

gontadu commented 8 years ago

Perfect! Happy with this! hope you had a great vacation!