Azure SQL Server Elastic Pool - automatically add database to pool

前端 未结 2 1255
隐瞒了意图╮
隐瞒了意图╮ 2021-01-12 15:41

Currently we have an Azure SQL Server and each time we create new web app, we use EF Core Code First to generate the database. However after the database is created we manua

2条回答
  •  再見小時候
    2021-01-12 16:21

    You can use Transact-SQL to programmatically move an existing Azure SQL Database into an elastic pool.

    ALTER DATABASE db1   
    MODIFY ( SERVICE_OBJECTIVE = ELASTIC_POOL ( name = pool1 ) ) ;  
    

提交回复
热议问题