Skip to main content Skip to complementary content

Table labels

A table can be labeled for later reference, for example by a LOAD statement with a resident clause or with expressions containing the peek function. The label, which can be an arbitrary string of numbers or characters, should precede the first LOAD or SELECT statement that creates the table. The label must be followed by a colon ":".

Labels containing blanks must be quoted using single or double quotation marks or square brackets.

Example 1:  

Table1:

LOAD a,b from c.csv;

LOAD x,y from d.csv where x=peek('a',y,'Table1');

Example 2: Table label containing a blank

[All Transactions]:

SELECT * from Transtable;

LOAD Month, sum(Sales) resident [All Transactions] group by Month;

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!