Line of code in a MS SQL Stored Procudure to produce a Name Value JSON string

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

I need a line of code so that I can build a Name Value JSON string to store in a MS SQL Database. The problem is in the amount of double quotes that must be preserved. The Values will be updated by the parameters that are passed to the procedure. I just need the line of code with the proper way to escape out/encode the double quotes

[{"name":"FirstName","value":"@parm1"},{"name":"Middlename","value":"@parm2"},{"name":"LastName","value":"@parm3"},{"name":"emailaddress","value":"@parm4"},{"name":"eRACommons","value":"@parm5"},{"name":"positionTitle","value":"@parm6"},{"name":"MyNCBILink","value":"@parm7"},{"name":" uniqueid","value":"@parm8"},{"name":"ReferenceID","value":"@parm9"}]

.NET Програмування на C# Microsoft SQL Server SQL VB.NET

ID Проекту: #16341834

Про проект

6 заявок(-ки) Дистанційний проект Остання активність 6 роки(ів) тому

Доручено:

supergana

I can check this and get back. Should be possible with single quotes. I will try and come back to you positively.

$20 USD за 1 день
(13 відгуків(-и))
3.9

6 фрілансерів(-и) готові виконати цю роботу у середньому за $36

codetod

Hi In SQL you dont actually need to escape for double quotes, as double quotes is accepted as it is. If you try any of the below statements, you can see that it returns the correct text. select '[{"name":"FirstNa Більше

$25 USD за 1 день
(76 відгуків(и))
6.3
freelancernewtec

Hello, I would like to take this assignment. I am having 14 years of experience on web development, deployment and project management. Below are my core technical skills •ASP.Net /HTML/CSS/JavaScript/JQuery •C# Більше

$35 USD за 1 день
(4 відгуків(и))
2.8