Forum Discussion
AlexGazz
Jul 03, 2023Copper Contributor
Can you create an SQL database table with columns via an Azure ARM Template?
I was wondering whether it was possible to create an Azure SQL database table, with the columns and the columns data types included? I know you can create the table, as I have done so successfully al...
AlexGazz
Jul 04, 2023Copper Contributor
LeonPavesic Thank you for coming back to me, do you know if you could include the table creation in the same template as creating an SQL server and database, so it creates all 3 resources via one template?
luistorres
Jul 04, 2023Brass Contributor
Yes, you can. ARM templates can have multiple resources.
ARM template syntax is a little bit complex, for that reason I use Bicep for coding and then export the ARM template or deploy it directly from Azure CLI
ARM template syntax is a little bit complex, for that reason I use Bicep for coding and then export the ARM template or deploy it directly from Azure CLI