Questions tagged «in-memory-database»

3
多语句事务中不允许使用ALTER DATABASE语句
我已经从此处下载了基于AdventureWorks的内存中示例,并遵循了随附文档中描述的所有步骤。但是,当我尝试在SQL Server Management Studio中运行脚本时,出现错误消息: 多语句事务中不允许使用ALTER DATABASE语句 错误指向第9行,即: IF NOT EXISTS (SELECT * FROM sys.data_spaces WHERE type='FX') ALTER DATABASE CURRENT ADD FILEGROUP [AdventureWorks2012_mod] CONTAINS MEMORY_OPTIMIZED_DATA GO 由于这是(或多或少)正式的Microsoft文档,所以我认为这是我做错的事情,但是我不知道这是什么。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.