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

Befejezett Kiadva: 6 évvel ezelőtt Kiszállításkor fizetve
Befejezett Kiszállításkor fizetve

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# programozás Microsoft SQL Szerver SQL VB.NET

Projektazonosító: #16341834

A projektről

6 ajánlat Távolról teljesíthető projekt Utoljára aktív: 6 évvel ezelőtt

Odaítélve:

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 napon belül
(13 értékelés)
3.9

6 szabadúszó tett átlagosan 36$ összegű árajánlatot erre a munkára

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 Továbbiak

$25 USD 1 napon belül
(76 vélemény)
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# Továbbiak

$35 USD 1 napon belül
(4 vélemény)
2.8