Free Trial

Alteryx Designer Desktop Discussions

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

PAssing JSON to a stored Procedure

danmeland
5 - Atom

I am not sure how this works.  I simply want to pass a JSON from the builder to a stored procedure as a parameter.

Any thoughts?


3 REPLIES 3
geraldo
13 - Pulsar

@danmeland 

 

Could you send an example.
I believe that through the batch macro you can pass this parameter in presql or post sql to execute the procedure

danmeland
5 - Atom

ok the flow senerio is to query a web service, retrieve the JSON, cleanse it, then pass it through to a Sql Server stored procedure.

Seems quit simple, but I just cant rap my head around it.  The parameter will retain the same name each time, but how is the json string passed?

 

Thanks in advanced

 

geraldo
13 - Pulsar

@danmeland 

 

the raw json is usually on just one line. In the batch macro you place a parameters tool and an action and replace the parameter that you have to pass in the procedure

Labels
Top Solution Authors