CREATE DATABASE {0}
AS COPY OF {1} ( SERVICE_OBJECTIVE = 'S2' )
Execution timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. CREATE DATABASE AS Copy of operation failed. Internal service error.
最佳答案
如果通过连接字符串设置更高的连接超时不起作用,您可能需要查看 Command Timout SqlCommand
上的设置。
您还可以使用任何可用的 ORM 框架来设置此属性,尽管该属性的名称可能有所不同。
关于Azure SQL Server 复制数据库脚本失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45667719/