#JSON字段访问时,引号格式
-- 需要替换C#里的""\"""" 为 "\"" -- C#里的SQL代码 rtrim(ltrim(REPLACE(JSON_EXTRACT(b.yarn_type_id, '$.dye_name'), ""\"""", ''))) -- MySQL直接执行的代码 rtrim(ltrim(REPLACE(JSON_EXTRACT(b.yarn_type_id, '$.dye_name'), "\"", '')))
Powered by: 博客园 Copyright © 2024 WinChance Powered by .NET 9.0 on Kubernetes