Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
An issue has been identified on Qlik Cloud hub, please visit our Status Update Page for details: GET THE LATEST
cancel
Showing results for 
Search instead for 
Did you mean: 
rocioaliagaisla
Contributor
Contributor

What is REM in Load Statement?

Well, I am new using Qlik Sense, so, @

I woud like to know what does REM works in Load Statement?

Thanks!

REM LOAD IDBudget,

    Année,

    Mois,

    Budget;

SQL SELECT IDBudget,

    Année,

    Mois,

    Budget

FROM "C:\Users\Rocio.ALIAGA\Desktop\DATA-FORMATION QLIKSENSE\BDD\Budget".Ventes;

4 Replies
felipedl
Partner - Specialist III
Partner - Specialist III

Hi Rocio,

It's more like a comment, see the following link:

https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/...

If you use the statement as you posted, it will get an error since it will understando somethin like this:

// LOAD IDBudget,

    Année,

    Mois,

    Budget;

SQL SELECT IDBudget,

    Année,

    Mois,

    Budget

FROM "C:\Users\Rocio.ALIAGA\Desktop\DATA-FORMATION QLIKSENSE\BDD\Budget".Ventes;


Basically the "REM" is equal to the "//"

sunilkumarqv
Specialist II
Specialist II

Rem ** This is a comment **;

/* This is also a comment */

// This is a comment as well

https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptRegularS...

petter
Partner - Champion III
Partner - Champion III

Actually the REM statement is NOT equal to //.

Because the REM statement is a FULL statement comment that can stretch over more than one line until a semicolon.

So it is really a cross between a // and a /* ......   */.

Can be very handy.

petter
Partner - Champion III
Partner - Champion III

It comments out then entire LOAD statement. Not just the first line but all the lines until the end of the LOAD statement.

REM is short for remark which is similar to comment. It is common in various dialects of BASIC since the dawn of time.