2016-11-19 151 views
2

有谁知道DDM是否必须先启用才能使用(以及如何),还是只有特定版本的SQL Server 2016才具有此功能运行:SQL Server 2016 - 动态数据屏蔽(DDM)

ALTER Table Employee 
ALTER COLUMN NAME ADD MASKED WITH (FUNCTION='DEFAULT()') 

导致以下错误:

Msg 534, Level 15, State 100, Line 4 'ADD MASKED' failed because it is not supported in the edition of this SQL Server instance 'DELL-001\SQLEXPRESS01'. See books online for more details on feature support in different SQL Server editions.

我已经安装了SQL的版本是:

Microsoft SQL Server 2016 (RTM-GDR) (KB3194716) - 13.0.1722.0 (X64)
Sep 26 2016 13:17:23 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows 10 Home 6.3 (Build 14393:)

谢谢!

回答

3

这是不提供低于标准任何版本的SQL Server 2016发布的时候。

然而最近SP1发布这的确增强较低版本的功能颇大。

所以,你只需要安装SP1。

enter image description here

Image Source