SQL Server 2016, Invalid object name 'STRING_SPLIT'

后端 未结 3 1458
一个人的身影
一个人的身影 2020-12-15 04:34

In SQL Server 2016 I receive this error with STRING_SPLIT function

SELECT * FROM STRING_SPLIT(\'a,b,c\',\',\')

Error:

<
3条回答
  •  清歌不尽
    2020-12-15 04:46

    Make sure that the database compatibility level is 130

    you can use the following query to change it:

    ALTER DATABASE [DatabaseName] SET COMPATIBILITY_LEVEL = 130
    

提交回复
热议问题