<?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 Function in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228007#M80072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a QVD with a result of an function SQL:&lt;/P&gt;&lt;P&gt;In Microsoft SQL Server the function is :&lt;/P&gt;&lt;P&gt;SET ANSI_NULLS ON&lt;BR /&gt;GO&lt;BR /&gt;SET QUOTED_IDENTIFIER ON&lt;BR /&gt;GO&lt;BR /&gt;-- =============================================&lt;BR /&gt;-- Author: &amp;lt;Author,,Name&amp;gt;&lt;BR /&gt;-- Create date: &amp;lt;Create Date,,&amp;gt;&lt;BR /&gt;-- Description: &amp;lt;Description,,&amp;gt;&lt;BR /&gt;-- =============================================&lt;BR /&gt;CREATE FUNCTION &amp;lt;Inline_Function_Name, sysname, FunctionName&amp;gt;&lt;BR /&gt;(&lt;BR /&gt; -- Add the parameters for the function here&lt;BR /&gt; &amp;lt;@param1, sysname, @p1&amp;gt; &amp;lt;Data_Type_For_Param1, , int&amp;gt;,&lt;BR /&gt; &amp;lt;@param2, sysname, @p2&amp;gt; &amp;lt;Data_Type_For_Param2, , char&amp;gt;&lt;BR /&gt;)&lt;BR /&gt;RETURNS TABLE&lt;BR /&gt;AS&lt;BR /&gt;RETURN&lt;BR /&gt;(&lt;BR /&gt; -- Add the SELECT statement with parameter references here&lt;BR /&gt; SELECT 0&lt;BR /&gt;)&lt;BR /&gt;GO)&lt;/P&gt;&lt;P&gt;How I can create a QVD with this?&lt;/P&gt;&lt;P&gt;Can you help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Apr 2010 14:44:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-29T14:44:50Z</dc:date>
    <item>
      <title>Function in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228007#M80072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a QVD with a result of an function SQL:&lt;/P&gt;&lt;P&gt;In Microsoft SQL Server the function is :&lt;/P&gt;&lt;P&gt;SET ANSI_NULLS ON&lt;BR /&gt;GO&lt;BR /&gt;SET QUOTED_IDENTIFIER ON&lt;BR /&gt;GO&lt;BR /&gt;-- =============================================&lt;BR /&gt;-- Author: &amp;lt;Author,,Name&amp;gt;&lt;BR /&gt;-- Create date: &amp;lt;Create Date,,&amp;gt;&lt;BR /&gt;-- Description: &amp;lt;Description,,&amp;gt;&lt;BR /&gt;-- =============================================&lt;BR /&gt;CREATE FUNCTION &amp;lt;Inline_Function_Name, sysname, FunctionName&amp;gt;&lt;BR /&gt;(&lt;BR /&gt; -- Add the parameters for the function here&lt;BR /&gt; &amp;lt;@param1, sysname, @p1&amp;gt; &amp;lt;Data_Type_For_Param1, , int&amp;gt;,&lt;BR /&gt; &amp;lt;@param2, sysname, @p2&amp;gt; &amp;lt;Data_Type_For_Param2, , char&amp;gt;&lt;BR /&gt;)&lt;BR /&gt;RETURNS TABLE&lt;BR /&gt;AS&lt;BR /&gt;RETURN&lt;BR /&gt;(&lt;BR /&gt; -- Add the SELECT statement with parameter references here&lt;BR /&gt; SELECT 0&lt;BR /&gt;)&lt;BR /&gt;GO)&lt;/P&gt;&lt;P&gt;How I can create a QVD with this?&lt;/P&gt;&lt;P&gt;Can you help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 14:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228007#M80072</guid>
      <dc:creator />
      <dc:date>2010-04-29T14:44:50Z</dc:date>
    </item>
    <item>
      <title>Function in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228008#M80073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, you just need to use your SELECT statement in QlikView and use the $ sign expansion functionality to pass any values as parameters. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT * FROM SALES WHERE DATE &amp;gt;= $(MyCalculatedDateVariable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 14:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228008#M80073</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-04-29T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Function in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228009#M80074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 08:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-in-Script/m-p/228009#M80074</guid>
      <dc:creator />
      <dc:date>2010-04-30T08:53:16Z</dc:date>
    </item>
  </channel>
</rss>

