Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Coverting PL/SQL into qlikview syntax

Hi Guys,

Am new to qlikview and i have been working on oracle, can some one help me convert the following code to qlikview syntax.

        CASE WHEN "GENPOLICY"."POL_CANCEL_CDE" IS NULL THEN "MDRCANCELREF"."MDRCANCELREF_KEY"

                  ELSE "GENPOLICY"."POL_CANCEL_CDE"

             END As "Cancel Code",

FROM   "INSIGHT"."GENPOLICY" "GENPOLICY"

            INNER JOIN "INSIGHT"."MDR_POLICY" "MDR_POLICY"

            ON "GENPOLICY"."POLICY_KEY"="MDR_POLICY"."MDR_POLICY_KEY")

            LEFT OUTER JOIN "INSIGHT"."MDRCANCELREF" "MDRCANCELREF"

            ON "GENPOLICY"."POL_CANCEL_CDE"="MDRCANCELREF"."MDRCANCELREF_KEY")

5 Replies
Not applicable
Author

hi you can directly use Sql Statments in QlikView

TableName:

load * ( or fieldnames)

SQL your Select query

Hope it will help

Regards

- Anil

MayilVahanan

  hi

if you need to store into qvd file instead of performancc issues, try lik this

Table1:

Load *;

sql select your query;

store table into filename.qvd(qvd);

After that you can use qvd file..

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Hi,

would it make any difference perfoemance wise if i converted the sql into  IF statements using flags?

Not applicable
Author

hi Brytesikaz,

Its depends on the data set, If can reduce the performance with large data set.

Regards

- Anil

MayilVahanan

Hi

please read this for performance

http://community.qlik.com/thread/18473?start=0&tstart=0

this thread contains lot of information n nice.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.