microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.56k stars 898 forks source link

SQLCMD mode doesn't support `:connect` #7684

Closed uc-msft closed 3 years ago

uc-msft commented 5 years ago

Issue Type: Bug

Try some SQLCMD commands. Below error is raised:

Execution failed due to an unexpected error: SQL Execution error: A fatal error occurred. Incorrect syntax was encountered while :connect was being parsed.

Azure Data Studio version: azuredatastudio-insiders 1.12.0-insider (93c9426f25e632e8e3dd6e572d48d559ae07a7bf, 2019-10-10T18:18:16.586Z) OS version: Windows_NT x64 10.0.18999

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)| |GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.85GB (15.48GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (8) Extension|Author (truncated)|Version ---|---|--- ssmskeymap|kev|1.1.0 admin-tool-ext-win|Mic|0.0.2 agent|Mic|0.43.0 azuredatastudio-postgresql|Mic|0.2.2 dacpac|Mic|0.7.0 import|Mic|0.11.0 profiler|Mic|0.10.0 sql-vnext|Mic|0.16.0
kevcunnane commented 5 years ago

@udeeshagautam I believe this is being worked on right now - is there an existing bug or will you track this one?

udeeshagautam commented 5 years ago

Yes we have identified the keywords that don't work - tracked here : https://github.com/microsoft/azuredatastudio/issues/7381

kburtram commented 3 years ago

Closing this as a duplicate of #7381.