OPENJSON does not work in SQL Server?
I want to use JSON functions in SQL Server 2016, but when I try to execute OPENJSON function, I get the following error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'openjson'. Why it does not work? I have SQL Server 2016 RC version. Could you check compatibility level on database? OPENJSON is available under compatibility level 130. Could you try to execute: ALTER DATABASE database_name SET COMPATIBILITY_LEVEL = 130 Also, if you are using JSON on Azure SQL Database, note that even new databases are created under 120 compatibility level so you should change it if you want to use