Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Is there any way to set a stored procedure parameters name as input variables and not as fixed strings?
I'd like to pass @item().param_name as variable as follows:
I've seen a possible solution, that is passing through Dynamic Content of source settings the full json string with parameters configuration as follows:
@json(string({"Params":{"ParameterName1":{"value":"ParameterName1Value","type":"String"}}}))@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}')))
Which is the json struct format that Dynamic Content needs?
Solved! Go to Solution.
Missing ending .params:
@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}'))).params
Hi @amaaiia ,
Glad to know that you were able to get to a reoslution. Please continue using Fabric Community on your further queries.
Missing ending .params:
@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}'))).params
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 8 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |