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.
once connected, create a new query, File -> New Query
write any simple query against any table you wish. Do not save the query. Leave it in an unsaved query file (e.g. SQLQuery_1)
run the query, see the successful results of the query
now let enough time to pass that the serverless database gets put into a paused state. for me, that's about an hour or so.
once the database is in a paused state, attempt to rerun the query from step 5
results, the query is not able to connect to the database and successfully run.
multiple attempts at running the query produce differing error behavior, and in some cases the query window crashes and is lost. This behavior appears to happen even when the paused database is started and in a running state.
If you create a new query (File -> New Query) and copy and paste the TSQL from the query in step 4 into this new query, it will run successfully
Azure Data Studio version: azuredatastudio 1.19.0 (4095037f2578c23033867e611e82c13de114ca5a, 2020-06-11T22:03:19.036Z)
OS version: Darwin x64 19.5.0
Issue Type: Bug
results, the query is not able to connect to the database and successfully run.
multiple attempts at running the query produce differing error behavior, and in some cases the query window crashes and is lost. This behavior appears to happen even when the paused database is started and in a running state.
If you create a new query (File -> New Query) and copy and paste the TSQL from the query in step 4 into this new query, it will run successfully
Azure Data Studio version: azuredatastudio 1.19.0 (4095037f2578c23033867e611e82c13de114ca5a, 2020-06-11T22:03:19.036Z) OS version: Darwin x64 19.5.0
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled| |Load (avg)|3, 2, 2| |Memory (System)|32.00GB (1.23GB free)| |Process Argv|-psn_0_2273835| |Screen Reader|no| |VM|0%|