小编Ter*_*lem的帖子

用于 json auto 的 sql 服务器。如何获取全部结果

当尝试这个时:

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
Run Code Online (Sandbox Code Playgroud)

我收到此错误消息:

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.
Run Code Online (Sandbox Code Playgroud)

我已将 sql 结果设置为 max:

微软 SQL Server 管理工作室 14.0.17289.0

非 xml 数据我也无法超过 655535。我也尝试将结果写入文件,但仍然缺少内容。

抱歉,我不太擅长 …

sql-server json

6
推荐指数
1
解决办法
4168
查看次数

标签 统计

json ×1

sql-server ×1