-2

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.

ref: https://learn.microsoft.com/en-us/azure/sql-database/sql-database-single-database-get-started-template

old_timer
  • 69,149
  • 8
  • 89
  • 168
ANIL MANE
  • 1,395
  • 2
  • 16
  • 30

1 Answers1

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