Azure CLI samples for Azure SQL Database

The following table includes links to sample Azure CLI scripts for Azure SQL Database.

Create a single database and an elastic pool
Create a single database and configure a firewall rule Creates a single Azure SQL database and configures a server-level firewall rule.
Create elastic pools and move pooled databases Creates elastic pools, and moves pooled Azure SQL databases, and changes performance levels.
Scale a single database and an elastic pool
Scale a single database Scales a single Azure SQL database to a different performance level after querying the size information for the database.
Scale an elastic pool Scales an elastic pool to a different performance level.