-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Description
The following tasks are the most common and we currently rely on the user's giving us administrator level credentials to connect to SQL Server and perform said tasks via simple SQL statements provided by each task.
- create_database
- drop_database
These tasks are much more complicated on Azure which has no USE ? notion. You have to re-connect, but it does have a master DB. Options to support these tasks include:
- Assume login is server/db admin. Connect with no DB bit (master) use TSQL https://msdn.microsoft.com/en-us/library/dn268335.aspx
- Delegate work to X platform Azure CLI https://github.com/Azure/azure-xplat-cli