Top "Sql-server-2016" questions

Use this tag for questions specific to the 2016 version of Microsoft's SQL Server.

How to check if a column exists in a SQL Server table?

I need to add a specific column if it does not exist. I have something like the following, but it …

sql-server sql-server-2008 tsql sql-server-2012 sql-server-2016
SQL Server: Filter output of sp_who2

Under SQL Server, is there an easy way to filter the output of sp_who2? Say I wanted to just …

sql-server sql-server-2016
How do I move a table into a schema in T-SQL

I want to move a table into a specific Schema using T-SQL? I am using SQL Server 2008.

sql-server sql-server-2008 tsql schema sql-server-2016
Is there a LastIndexOf in SQL Server?

I am trying to parse out a value from a string that involves getting the last index of a string. …

sql sql-server sql-server-2016
Why can I not install SQL Server Express 2016 on Windows 7 Professional 64 bit SP1?

When trying to install SQL Server 2016 Express in Windows 7 Professional x64 SP1 in VMware I get the following message. What …

sql-server installation windows-7 sql-server-2016 windows-7-x64
SQL Replace multiple different characters in string

I need to replace multiple characters in a string. The result can't contain any '&' or any commas. …

sql replace sql-server-2016
SQL Select everything after character

I'd like to select everything AFTER a certain character (-) that is placed on the most right side. Eg. abcd-efgh-XXXX …

sql sql-server-2016
SQL Server : can you limit access to only one table

I think the answer is no but I'm looking to give someone access to a SQL Server database but I …

sql-server permissions sql-server-2016 grant
Cannot be opened because it is version 852. this server supports version 782 and earlier

I am using Visual Studio 2017 and SQL Server 2014. While attaching a database file to Visual Studio, I get this error: "" …

c# sql-server visual-studio-2017 sql-server-2014 sql-server-2016
STRING_AGG is not a recognized built-in function name

I've downloaded and installed SQL Server 2016. When I attempted to use the STRING_AGG function I receive this error. Here …

sql sql-server sql-server-2016