<?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: Coverting PL/SQL into qlikview syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443044#M1163125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is am trying to create QVDs so i can read data from there instead of the database for perfomance issues of course. thats the reason why i figured changing to qliview script can help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 09:34:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-23T09:34:14Z</dc:date>
    <item>
      <title>Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443042#M1163123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am new to qlikview and i have been working on oracle, can some one help me convert the following code to qlikview syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE WHEN "GENPOLICY"."POL_CANCEL_CDE" IS NULL THEN "MDRCANCELREF"."MDRCANCELREF_KEY"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE "GENPOLICY"."POL_CANCEL_CDE"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END As "Cancel Code",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp; "INSIGHT"."GENPOLICY" "GENPOLICY"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INNER JOIN "INSIGHT"."MDR_POLICY" "MDR_POLICY"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON "GENPOLICY"."POLICY_KEY"="MDR_POLICY"."MDR_POLICY_KEY")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT OUTER JOIN "INSIGHT"."MDRCANCELREF" "MDRCANCELREF"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON "GENPOLICY"."POL_CANCEL_CDE"="MDRCANCELREF"."MDRCANCELREF_KEY")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 09:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443042#M1163123</guid>
      <dc:creator />
      <dc:date>2012-10-23T09:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443043#M1163124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the sql statement without changes in qlikview. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;Select * from Sometable where a=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview just sends the sql statement to the database that you connect to. The database executes the statement and returns the results. You do first need to define a connection of course.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 09:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443043#M1163124</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-23T09:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443044#M1163125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is am trying to create QVDs so i can read data from there instead of the database for perfomance issues of course. thats the reason why i figured changing to qliview script can help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 09:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443044#M1163125</guid>
      <dc:creator />
      <dc:date>2012-10-23T09:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443045#M1163126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also new to qlink but when I try to connect to sql server and run my sql query it run for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not use 'load' in script.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection string&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * &lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;WHERE &lt;/P&gt;&lt;P&gt;INNER JOIN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you to get out from your problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 09:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443045#M1163126</guid>
      <dc:creator />
      <dc:date>2012-10-23T09:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443046#M1163127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll first need to get the data from the database to be able to store it in a qvd. You can store only one table in one qvd: store MyTable into xxx.qvd (qvd);. And getting the data from the qvd is a simple Mytable: load * from xxx.qvd (qvd); Nothing more is needed. You simply load the entire table from the qvd into qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 10:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443046#M1163127</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-23T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443047#M1163128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi brytesikaz&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to convert your PL SQL in QV statements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not a complete script but atleast you will get an idea of how to do it with qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few point to check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First identify all the Raw tables from the PLSQL and store it in QVD's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; e.g Seeing your PLSQl script, the table you want is&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "INSIGHT"."GENPOLICY","INSIGHT"."MDRCANCELREF","INSIGHT"."MDR_POLICY" and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "INSIGHT"."MDR_PRODUCT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Identify the joins and calulation conditions you want to apply.As in SQL in Qlikview also you can Join&amp;nbsp; tables.Take help from below blog for understanding joins in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2011/02/07/merging-tables-the-join-prefix/"&gt;http://www.qlikfix.com/2011/02/07/merging-tables-the-join-prefix/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENPOLICY_T:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;"POL_CANCEL_CDE",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"POL_CANCEL_CDE" AS Key1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"POLICY_KEY" as Key2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM "INSIGHT"."GENPOLICY" ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"MDRCANCELREF_KEY",&lt;/P&gt;&lt;P&gt;"MDRCANCELREF_KEY" AS Key1&lt;/P&gt;&lt;P&gt;FROM "INSIGHT"."MDRCANCELREF";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop field Key1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;MDR_POLICY_T:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"MDR_POLICY_KEY" as Key2,&lt;/P&gt;&lt;P&gt;"MDR_PRODUCT_CDE" As Key1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FROM "INSIGHT"."MDR_POLICY" ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;INNER JOIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"MPD_UW_CDE",&lt;/P&gt;&lt;P&gt;"MPD_PRODUCT_KEY" AS Key1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FROM "INSIGHT"."MDR_PRODUCT";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MDR_POLICY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join( GENPOLICY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "MPD_UW_CDE",&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Resident MDR_POLICY_T;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table MDR_POLICY_T;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;GENPOLICY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;IF ( "MPD_UW_CDE"=8,'Chartis Policy Cancellations', IF ( "MPD_UW_CDE"=10,'Chartis Policy Cancellations','Other Policy Cancellations')) as [Policy Cancellations]&lt;/P&gt;&lt;P&gt;Resident GENPOLICY_T;&lt;/P&gt;&lt;P&gt;Drop table GENPOLICY_T;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you in solving your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 10:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443047#M1163128</guid>
      <dc:creator />
      <dc:date>2012-10-23T10:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443048#M1163129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what you are saying is when i load the QVDs i can then do the SQL condition and join statements on the QVDs instead of the database tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;FROM&amp;nbsp;&amp;nbsp; "INSIGHT"."GENPOLICY" "&lt;EM&gt;GENPOLICY.qvd"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12.727272033691406px; color: #737373; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INNER JOIN "INSIGHT"."MDR_POLICY" &lt;EM&gt;"MDR_POLICY.qvd&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and since Qlikview has &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 10:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443048#M1163129</guid>
      <dc:creator />
      <dc:date>2012-10-23T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443049#M1163130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gen_mdr_policy:&lt;/P&gt;&lt;P&gt;load * from genpolicy.qvd (qvd);&lt;/P&gt;&lt;P&gt;inner join&lt;/P&gt;&lt;P&gt;load * from mdr_policy.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first load all fields from the genpolicy.qvd file into a table named gen_mdr_policy. Then inner join that table with all fields loaded from the mdr_policy.qvd file. The resulting table is still named gen_mdr_policy and now contains the inner join of the two datasets from the two qvd files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 11:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443049#M1163130</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-10-23T11:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Coverting PL/SQL into qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443050#M1163131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot!!! that helps alot. you guys are the best!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 12:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coverting-PL-SQL-into-qlikview-syntax/m-p/443050#M1163131</guid>
      <dc:creator />
      <dc:date>2012-10-23T12:33:35Z</dc:date>
    </item>
  </channel>
</rss>

