我需要更改并行度,但是当我运行它时出现错误
Could not find stored procedure 'sp_configure'.
这是我的脚本
USE test;
GO
EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO
EXEC sp_configure 'max degree of parallelism', 8;
GO
RECONFIGURE WITH OVERRIDE;
GO
最佳答案
您似乎正在使用 sp_configure
不可用的 Azure SQL 数据库。使用 ALTER DATABASE SCOPED CCONFIGURATION而不是配置 MAXDOP
。
关于sql - 出现错误 Could not find stored procedure 'sp_configure' 。在 SQL Server 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49031213/