STRING_AGG is not a recognized built-in function name

Luke101

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

SELECT STRING_AGG(cast(FieldNumber AS VARCHAR(100)), ',')
FROM Fields

I've installed SQL Server 2016 and SP1. Is there anything else I need to do. Here is the feature I am trying to use. String Agg

Pரதீப்

STRING_AGG is not introduced in SQL SERVER 2016.

It is introduced in SQL SERVER vNext. In the MSDN link you have provided it is mentioned THIS TOPIC APPLIES TO : SQL Server (starting with vNext) not SQL SERVER 2016. It is a much needed feature I wish they add it in any future releases

In case you are wondering what is vNext

SQL Server vNext represents a major step towards making SQL Server a platform that enables choices of development languages, data types, on-premises and in the cloud, and across operating systems by bringing the power of SQL Server to Linux, Linux-based Docker containers, and Windows. SQL Server vNext also includes the features added in SQL Server 2016 service packs

For more info check here

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

STRING_AGG is not a recognized built-in function name when using SAP HANA CDS file

is not a recognized built-in function name

string_agg No function matches the given name

'STRING_SPLIT' is not a recognized built-in function name

Postgres string_agg function not recognized as aggregate function

'Extract' is not a recognized built-in function name

COMPRESS is not a recognized built-in function name

'SUM' is not a recognized built-in function name

'DATE' is not a recognized built-in function name

TRY_CAST is not a recognized built-in function name

'PERCENT_RANK' is not a recognized built-in function name in SQL Server

SQL-server 'WEEKDAY' is not a recognized built-in function name

string_agg function with Condition

'DATEFROMPARTS' is not a recognized built-in function name- SQL Server 2008 error

Using if statement in string_agg function - postreSQL

use distinct and order by in STRING_AGG function

Timeserial not recognized built in function in MS SQL

String not recognized in function definition

Convert to varchar max inside string_agg function

SQL Server STRING_AGG function sorting is not working as expected

SQL: How to get distinct values out of string_Agg() function?

How can I write a conditional string_agg function in BigQuery?

using STRING_AGG and the LAST_VALUE function in same request

The term 'behave' is not recognized as the name of a cmdlet, function

Variable name conflicts with built-in function

In postgres, how to sort on, among others, a result value of a string_agg function, without selecting that field? Subquery not possible

Using Spring JPA to setup a Aggregate Function for STRING_AGG with Postgresql for a Group_By

Create a User defined function like SQL server 2017 STRING_AGG on earlier versions

More than one row returned by a subquery when using STRING_AGG function

TOP Ranking

HotTag

Archive