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
Azure Data Studio Version:
Version: 1.11.0 (user setup)
Commit: acc85c2
Date: 2019-09-03T23:55:40.484Z
VS Code 1.37.0
Electron: 4.2.9
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
There are some sqlcmd keywords not being handled by Batch Parser and need specific handling. SSMS handles them seperately and ADS does not have that capability. This list includes
:Connect
:Error
:Exit
:On Error
:Out
:Quit
:!!
Steps to Reproduce:
Open Query editor and switch on SQLCMD Mode
Run a query like
:Connect localhost
Use Database1
Go
Select *
from Table1
Errors out saying,
Execution failed due to an unexpected error:
SQL Execution error: A fatal error occurred. Incorrect syntax was encountered while :Connect was being parsed.
Which it works correctly in SSDT and SSMS.
The text was updated successfully, but these errors were encountered:
Azure Data Studio Version:
Version: 1.11.0 (user setup)
Commit: acc85c2
Date: 2019-09-03T23:55:40.484Z
VS Code 1.37.0
Electron: 4.2.9
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
There are some sqlcmd keywords not being handled by Batch Parser and need specific handling. SSMS handles them seperately and ADS does not have that capability. This list includes
:Connect
:Error
:Exit
:On Error
:Out
:Quit
:!!
Steps to Reproduce:
:Connect localhost
Use Database1
Go
Select *
from Table1
Errors out saying,
Execution failed due to an unexpected error:
SQL Execution error: A fatal error occurred.
Incorrect syntax was encountered while :Connect was being parsed.
Which it works correctly in SSDT and SSMS.
The text was updated successfully, but these errors were encountered: