-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON data type is missing? #915
Comments
Thanks @Carmageddon. The JSON data type is only currently available in the Azure SQL Platform as a Service offerings such as Azure SQL Database and Azure SQL Managed Instance. Unfortunately, it is not available for SQL Server 2022. |
Thank you @thesqlsith ! |
No problem. Thank you for raising this @Carmageddon The reason Azure SQL Edge is also not working is that it is not part of an Azure Platform as a Service (Paas) set of service offerings. These offerings include services like Azure SQL Database (including Hyperscale) and Azure SQL Managed Instance. SQL Edge is much closer to SQL Server than Azure SQL Database. You can think of it as a lightweight version of SQL Server, like something like SQL Server Express, with a few more limitations despite the product having Azure in its name. Unfortunately, we will be retiring the Azure SQL Edge product later this year and as such, it will not be receiving the new JSON data type support. While I am not in marketing, I would add that we do have a free Azure SQL Database offering if you would like to test out the JSON datatype support there. |
Thanks @thesqlsith , I'll look into that. But what if I wanted to work offline locally in a local dev env? How is the Azure SQL DB conductive to a full local dev env? |
I am testing locally using mcr.microsoft.com/mssql/server:2022-latest docker image, and the database works except, apparently the JSON data type is missing.
The screenshot is taken from SSMS 20.2
According to the documentation of SQL Server, its supposed to be available.
When I try to explicitly type "JSON" as the desired data type, I get error "Invalid data type"
The exact version, from the docker logs:
The text was updated successfully, but these errors were encountered: