SQL Server 2016 - Dynamic Data Masking (DDM) - sql

Does anyone know if DDM has to be enabled before it can be used (and if so how), or are there only certain versions of SQL Server 2016 that have this functionality as trying to run:
ALTER Table Employee
ALTER COLUMN NAME ADD MASKED WITH (FUNCTION='DEFAULT()')
results in the following error:
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.
The version of SQL I have installed is:
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: )
Thanks!

This wasn't available in any edition lower than standard when SQL Server 2016 was released.
However recently SP1 was released which does enhance the functionality of lower versions quite considerably.
So you just need to install SP1.
Image Source

Related

A project which specifies sql server 2016 as the target platform cannot be published to sql server 2014

I tried publishing a database in Visual Studio, and I get this error:
A project which specifies sql server 2016 as the target platform
cannot be published to sql server 2014
How do I select to publish to SQL Server 2016, in Visual Studio?
Is there an option that I missed?
Or do I have no other choice but to target SQL Server 2014?
The Target SQL Version is part of the Project Properties.

the backend version is not supported to design database diagrams

When i wanna create new table in ssms 2016 or ssms 2014 give me an error
The backend version is not supported to design database diagrams
Version is
Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) Aug 22 2017 17:04:49 Copyright (C) 2017 Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2016 Standard 10.0 (Build 14393: )
There is one point here
I connect to another server from my local computer

Error on Display Estimated Execution Plan with window function

I just wanted to have a look how the execution plan of a query changes, when i add window functions like LAG().
But, when i add a window function to my query like LAG() & click on "Display Estimated Execution Plan" it returns me following error.
An error occurred while executing batch. Error message is: Error processing execution plan results. The error message is:
There is an error in XML document (1, 12308).
Instance validation error: 'Window Spool' is not a valid value for PhysicalOpType.
SQL Server:
Microsoft SQL Server 2016 (SP1) (KB3182545)
13.0.4001.0 (X64) Oct 28 2016 18:17:30
Copyright (c) Microsoft Corporation Enterprise Edition (64-bit)
on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)
I never experienced this behavior before. Any ideas why the execution plan can't be estimated?
Solution:
Version of Microsoft SQL Server Management Studio is older than Microsoft SQL Server itself.
In my case:
Microsoft SQL Server Management Studio Version 10.50.1600.1 (for SQL Server 2008 R2)
Microsoft SQL Server 2016
As windowed functions like LAG() have been released with SQL Server 2012, the older Management Studio version is not able to interpret/display the execution plan with windowed functions.

CTP Installation Error. Install Microsoft System CLR Types for SQL Server 2016 CTP3.2

I get an error:
To Continue, install Microsoft System CLR Types for SQL Server 2016
CTP3.2
during the installation of SQL 2016 CTP 3.2. From where I can download CLR Types for SQL Server 2016 CTP3.2?
I had this problem too. The solution for me was access this link: https://www.microsoft.com/en-us/download/details.aspx?id=52676&WT.mc_id=rss_alldownloads_all
Click Download and in the list, search ENU\x64\SQLSysClrTypes.msi and ReportViewer
Best regards!

Error installing SQL Server 2000 on Windows Server 2008 (x64)

Is there any way of installing Microsoft SQL Server 2000 on Windows Server 2008 (x64) server? I need to install but error throws "Microsoft Sql server 2000 does not compatible with current operating system." Currently i have SQL Server 2000 x86.
How can i install please let me know.
Thanks in advance.
I tried that before, even if you change the settings to "Run with compatibly with OS" you will be prompted with several errors when the installation is completed.
The next closest version is MS SQL 2008. you can try the express pack first if you're concerned about compatibility issues.