Open file Azure Data Studio with CLI and connect
0
votes
0
answers
163
views
I am trying to start Azure Data Studio(1.46.1) from command line to open a file and connect to server and database. I can get it to work separately:
connect with new query
azuredatastudio --server servername --database databasename --authenticationType Integrated
open file disconnected
azuredatastudio "\\server\share\file.sql"
but am unable to open file and connect to server. This will open file but not connect to server and database.
azuredatastudio --server servername --database databasename --authenticationType Integrated "\\server\share\file.sql"
Is there a way to use Azure Data Studio CLI to open and connect to database?
Asked by Bob Klimes
(3400 rep)
Oct 13, 2023, 04:38 PM
Last activity: Oct 19, 2023, 07:45 PM
Last activity: Oct 19, 2023, 07:45 PM