Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have created a ODBC connection to a MS Access database. The script generated by clicking the Insert Connection String button contains a SQL statement. It also includes a LOAD statement but it is commented out via a REM statement. The script runs fine with the LOAD statement commented out so why is it included?
Mark
It's a Preceding Load and the main-benefits are that you could there apply qlik-functions which aren't supported from the sql-side and also to concentrate most of required transformings within one place. Quite often in this way that you could copy a sql-statement from your db directly into qlik without any changes on them (unless you want to specify a certain where-clause to reduce the amount of data) and within the preceeding part you could place your transformings.
- Marcus
there is a check box while selecting data from database(at bottom) which says 'Include Load Script'. You can uncheck it if you dnt want it to be included in script with SQL Statement
Thank you for your response Shraddha. In re-reading my post, I am afraid my question was not precise enough. The script runs with or without the LOAD statement commented out. If the LOAD statement is not necessary, what are the advantages of leaving it uncommented?
Mark
It's a Preceding Load and the main-benefits are that you could there apply qlik-functions which aren't supported from the sql-side and also to concentrate most of required transformings within one place. Quite often in this way that you could copy a sql-statement from your db directly into qlik without any changes on them (unless you want to specify a certain where-clause to reduce the amount of data) and within the preceeding part you could place your transformings.
- Marcus