I can create single database in Azure SQL Database using ARM template but what are the changes required to create a new database in virtual machine if does not exists.
Asked
Active
Viewed 399 times
-2
-
you want to create a vm with sql already installed? – Thiago Custodio Nov 15 '19 at 01:05
-
VM is already available with sql server installed, I just want to create new database in existing sql server. – ANIL MANE Nov 15 '19 at 01:08
1 Answers
0
ARM should not be used in this case, as it's used to create azure resources. Once the vm is ready, you'll need something else to create new databases. You can run powershell scripts: Is it possible to create a Database in SQL Server with powershell?

Thiago Custodio
- 17,332
- 6
- 45
- 90