0

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?

Bob Klimes
  • 3,400
  • 1
  • 19
  • 31

0 Answers0