<?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: Can Compose call SqlServer stored procedures in a transform in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876454#M457</link>
    <description>&lt;P&gt;Also the single table is good option if you have logic that would not be converted in views or expression. Also a good advantage of that is in cdc you will only be operating onthe delta values but as I'm not sure what the requirement is, i can't say much about the approach.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jan 2022 20:15:07 GMT</pubDate>
    <dc:creator>aj96</dc:creator>
    <dc:date>2022-01-02T20:15:07Z</dc:date>
    <item>
      <title>Can Compose call SqlServer stored procedures in a transform</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876195#M455</link>
      <description>&lt;P&gt;We have 1000's of sp's that are used in our current ETL processing.&lt;/P&gt;
&lt;P&gt;These sp's range from simple get a column from a row, to huge calculations not easily/possible to be replicated in Compose's expression builder.&lt;/P&gt;
&lt;P&gt;Some of the sp's can be converted to a 'pre-run' sp that could populate lookup tables, which seem easy to integrate.&lt;/P&gt;
&lt;P&gt;Can Compose call a sp in a SqlServer database, not necessarily the same database of the ODS or DW...ie. if the dw is in xxxx_DW.dbo and the sp is in xxxx_SP.dbo; both databases on the same server; if so how?&lt;/P&gt;
&lt;P&gt;Ron&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876195#M455</guid>
      <dc:creator>RonFusionHSLLC</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can Compose call SqlServer stored procedures in a transform</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876453#M456</link>
      <description>&lt;P&gt;I think you can use EXEC in post or pre etl. That should work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 20:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876453#M456</guid>
      <dc:creator>aj96</dc:creator>
      <dc:date>2022-01-02T20:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can Compose call SqlServer stored procedures in a transform</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876454#M457</link>
      <description>&lt;P&gt;Also the single table is good option if you have logic that would not be converted in views or expression. Also a good advantage of that is in cdc you will only be operating onthe delta values but as I'm not sure what the requirement is, i can't say much about the approach.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 20:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1876454#M457</guid>
      <dc:creator>aj96</dc:creator>
      <dc:date>2022-01-02T20:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can Compose call SqlServer stored procedures in a transform</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1877225#M459</link>
      <description>&lt;P&gt;You cannot call an SP in a mapping - but can as you and AJ suggest call it in&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a Pre-Load step.&amp;nbsp;&lt;UL&gt;&lt;LI&gt;Recommended approach would be to have the proc populate a table - which is subsequently used in a mapping&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;a multi-table / single-table ETL step&lt;UL&gt;&lt;LI&gt;Note that if no records are loaded to the TSTG table then additional steps are often skipped by Compose.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;A Post-Load step&lt;UL&gt;&lt;LI&gt;It is not recommended to INSERT data into HUBS / SATELLITES in custom steps due to all the RFI work that is automated by Compose, however updating Type 1 values in HUB's is fine - just remember to update the RUNNO_UPDATE column or changes may not be reflected in data mart processing.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Another option would be to convert the SP into a Table-Valued function which generates an output.&amp;nbsp; You should then be able to use the TVF in a mapping as a query based source.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 21:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Can-Compose-call-SqlServer-stored-procedures-in-a-transform/m-p/1877225#M459</guid>
      <dc:creator>TimGarrod</dc:creator>
      <dc:date>2022-01-04T21:35:46Z</dc:date>
    </item>
  </channel>
</rss>

