I have created an SQL file for my SQL server. When I double-click on that, Microsoft SQL server Management Studio 18 is opened, username and password are asked, the query is opened and I can launch it.
I would like to do this automatically. Is there a commandline tool for this? (I already checked, I don't have mssql-cli
on my computer)