<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Set Stored Procedure parameter name as variable in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931652#M2068</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/686932"&gt;@amaaiia&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Glad to know that you were able to get to a reoslution. Please continue using Fabric Community on your further queries.&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 07:28:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-20T07:28:16Z</dc:date>
    <item>
      <title>Set Stored Procedure parameter name as variable</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931516#M2066</link>
      <description>&lt;P&gt;Is there any way to set a stored procedure parameters name as input variables and not as fixed strings?&lt;/P&gt;&lt;P&gt;I'd like to pass&amp;nbsp;@item().param_name as variable as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amaaiia_0-1716187219326.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1101398i7CBB3688F478D4E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amaaiia_0-1716187219326.png" alt="amaaiia_0-1716187219326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've seen a possible solution, that is passing through Dynamic Content of source settings the full json string with parameters configuration as follows:&lt;/P&gt;&lt;PRE&gt;@json(string({"&lt;SPAN class=""&gt;Params"&lt;/SPAN&gt;:{&lt;SPAN class=""&gt;"ParameterName1"&lt;/SPAN&gt;:{&lt;SPAN class=""&gt;"value"&lt;/SPAN&gt;:&lt;SPAN class=""&gt;"ParameterName1Value"&lt;/SPAN&gt;,&lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;:&lt;SPAN class=""&gt;"String"&lt;/SPAN&gt;}}}))&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;json(string(concat(&lt;/SPAN&gt;&lt;SPAN&gt;'{"Params":{"'&lt;/SPAN&gt;&lt;SPAN&gt;,variables(&lt;/SPAN&gt;&lt;SPAN&gt;'par_name'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'":{"value":"'&lt;/SPAN&gt;&lt;SPAN&gt;,variables(&lt;/SPAN&gt;&lt;SPAN&gt;'par_value'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'","type":"String"}}}'&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;But I get this error:&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amaaiia_0-1716188474104.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1101415iA0120F709957192D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amaaiia_0-1716188474104.png" alt="amaaiia_0-1716188474104.png" /&gt;&lt;/span&gt;&lt;P&gt;Which is the json struct format that Dynamic Content needs?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 May 2024 07:01:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931516#M2066</guid>
      <dc:creator>amaaiia</dc:creator>
      <dc:date>2024-05-20T07:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Stored Procedure parameter name as variable</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931603#M2067</link>
      <description>&lt;DIV&gt;&lt;P&gt;Missing ending &lt;EM&gt;.params&lt;/EM&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;SPAN&gt;json(string(concat(&lt;/SPAN&gt;&lt;SPAN&gt;'{"Params":{"'&lt;/SPAN&gt;&lt;SPAN&gt;,variables(&lt;/SPAN&gt;&lt;SPAN&gt;'par_name'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'":{"value":"'&lt;/SPAN&gt;&lt;SPAN&gt;,variables(&lt;/SPAN&gt;&lt;SPAN&gt;'par_value'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'","type":"String"}}}'&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;STRONG&gt;.&lt;FONT color="#FF0000"&gt;params&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 May 2024 07:06:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931603#M2067</guid>
      <dc:creator>amaaiia</dc:creator>
      <dc:date>2024-05-20T07:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Stored Procedure parameter name as variable</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931652#M2068</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/686932"&gt;@amaaiia&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Glad to know that you were able to get to a reoslution. Please continue using Fabric Community on your further queries.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 07:28:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Set-Stored-Procedure-parameter-name-as-variable/m-p/3931652#M2068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-20T07:28:16Z</dc:date>
    </item>
  </channel>
</rss>

