azureazure-sql-databaseazure-cliazure-database-mysql

Create table in azure database via cli


I know it is possible to create a database server and database in azure by using cli without using azure portal. But is that also possible to create a table in azure database from cmd by using cli?

The goal is to script everything.


Solution

  • You can connect to Azure SQL Database using the sqlcmd command line tool. There's even a Linux version.