json自动的sql服务器。如何获得全部结果

时间:2019-06-13 15:25:07

标签: json sql-server

尝试时:

select BtId, [Name], Type, ISNULL([Description], '') as [Description], 
ISNULL(Comment, '') as Comment, ISNULL(Source, '') as Source, ISNULL(Info, '') as Info

from BytegymType
For json auto

我收到此错误消息:

Unable to show XML. The following error happened:
An error occurred while parsing EntityName. Line 1, position 14957.
One solution is to increase the number of characters retrieved from the 
server for XML data. To change this setting, on the Tools menu, click 
Options.

我已将sql结果设置为max:

Microsoft SQL Server Management Studio 14.0.17289.0

我也无法超过655535的非XML数据。 我也尝试将结果归档,仍然缺少内容。

对不起,我对sql-server不太满意:(

1 个答案:

答案 0 :(得分:0)

我缩小搜索范围后发现错误。它与buffersize无关。 for json 似乎与我存储在数据库中的符号有关。这有点奇怪,因为它确实有/的释放字符 句子是“肩膀和三头肌”。

链接中的释放字符示例 https://weighttraining.guide/exercises/arnold-press/ 似乎解析器有错误。