<?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: How to concat sql query with pipeline parameter? in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4036150#M4512</link>
    <description>&lt;P&gt;Many thanks that works!!!&amp;nbsp; ''text''&amp;nbsp;&lt;SPAN&gt;double single quotes.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 05:21:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-11T05:21:16Z</dc:date>
    <item>
      <title>How to concat sql query with pipeline parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4034661#M4496</link>
      <description>&lt;P&gt;@concat("SELECT * FROM [dbo].[MyTable] where SourceSystem ='NAV' and NAV_Mandant='W020' and Entry_No_&amp;gt;",activity('LastRecW020NAV').output)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a german system. Because the where filter also need to be Sting in ''&amp;nbsp;&amp;nbsp;quotation marks it dosn't work.&lt;/P&gt;&lt;P&gt;Is there a alternative text&amp;nbsp;qualifier?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 12:55:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4034661#M4496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-10T12:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to concat sql query with pipeline parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4034815#M4497</link>
      <description>&lt;P&gt;Can you please provide the expected SQL otput statement that you are envisioning to be executed in the database meaning Select * from xyz&amp;nbsp; format.&lt;/P&gt;
&lt;P&gt;And also what is your parameter name and a sample value of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using that we would help you make it dynamic? There are 2 ways : 1 using conact and other is direct expression&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 13:52:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4034815#M4497</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2024-07-10T13:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to concat sql query with pipeline parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4035903#M4510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One alternative approach is to use double single quotes&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to escape the single quotes within your string.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is the changed codes that you can have a try.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;@concat("SELECT * FROM [dbo].[MyTable] where SourceSystem =''NAV'' and NAV_Mandant=''W020'' and Entry_No_&amp;gt;", activity('LastRecW020NAV').output)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 02:34:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4035903#M4510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-11T02:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to concat sql query with pipeline parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4036150#M4512</link>
      <description>&lt;P&gt;Many thanks that works!!!&amp;nbsp; ''text''&amp;nbsp;&lt;SPAN&gt;double single quotes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 05:21:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4036150#M4512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-11T05:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to concat sql query with pipeline parameter?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4072869#M4831</link>
      <description>&lt;P&gt;I am trying to insert the activity error in a table in fabric datawarehouse. But because of special characters like *, ' I am unable to insert that error message into table. Any solution for this?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 06:36:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-concat-sql-query-with-pipeline-parameter/m-p/4072869#M4831</guid>
      <dc:creator>ManasiL</dc:creator>
      <dc:date>2024-08-01T06:36:50Z</dc:date>
    </item>
  </channel>
</rss>

