We have a few databases in Pricing Tier: Basic
, S0
... like below picture:
These databases were created before a new Elastic Pool is cr
Via a CLI shell
echo "Creating $database in $pool..."
az sql db create --resource-group $resource --server $server --name $database --elastic-pool $pool
echo "Moving $database to $poolSecondary..." # create command updates an existing datatabase
az sql db create --resource-group $resource --server $server --name $database --elastic-pool $poolSecondary