Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

json integrating sql insert queries

ClementSo
8 - Asteroid

Hello,

 

I would like to create a json integrating sql insert queries.

 

Could you help me ?

 

Thanks

4 REPLIES 4
danilang
19 - Altair
19 - Altair

Hi @ClementSo 

 

Can you provide some simple examples of what you're trying to do?  

 

Thanks

 

Dan

ClementSo
8 - Asteroid

Hi Danilang,


here is an example :

 

INSERT INTO safety_training (uuid,name,type,validity_duration,created_at,created_by) VALUES ('cab9ed36-1720-42fe-b36f-4629c4feb524','B2V','security-electric','36','2023-04-07 00:00:00','system');

danilang
19 - Altair
19 - Altair

Thanks @ClementSo 

 

That's a standard SQL Insert statement. Where does the json fit into all this?

 

Dan

ClementSo
8 - Asteroid

Hi @danilang ,

 

I would like to wrap this sql request in a json and i have several of the same type to put in the same json.

Labels