21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NullAsValue<br />

By default, <strong>QlikView</strong> considers NULL values to be missing or undefined entities. However, certain database<br />

contexts imply that NULL values are to be considered as special values rather than simply missing values.<br />

The fact that NULL values are normally not allowed to link to other NULL values can be suspended by<br />

means of the NullAsValue statement. Thus the NULL values of the specified fields are considered to be<br />

unknown rather than undefined when the NullAsValue statement is employed. The NullAsValue statement<br />

could be considered to supersede the NullDisplay (page 275) variable at field level.<br />

The NullAsValue statement operates as a switch. It can be switched off again by means of the NullAsNull<br />

(page 255) statement.<br />

The syntax is:<br />

NullAsValue*fieldlist<br />

*fieldlist is a comma separated list of the fields for which NullAsValue should be turned on. Using * as<br />

field list indicates all fields. The wildcard characters * and ? are allowed in field names. Quoting of field<br />

names may be necessary when wildcards are used.<br />

Example:<br />

NullAsValue A,B;<br />

Load A,B from x.csv;<br />

Please note the following points when using the NullAsValue statement:<br />

l Linking of NULL values is always turned off by default at the beginning of script execution.<br />

l Linking of NULL values of a specific field can be activated at any time using a NullAsValue statement.<br />

Back to Script Statements and Keywords (page 219).<br />

NullAsNull<br />

The NullAsNull statement turns off the linking of NULL values previously set by a NullAsValue (page 255)<br />

statement (follow this link for more information).<br />

The syntax is:<br />

NullAsNull*fieldlist<br />

*fieldlist is a comma separated list of the fields for which NullAsNull should be turned on. Using * as field<br />

list indicates all fields. The wildcard characters * and ? are allowed in field names. Quoting of field names<br />

may be necessary when wildcards are used.<br />

Examples:<br />

NullAsNull A,B;<br />

Load A,B from x.csv;<br />

Back to Script Statements and Keywords (page 219).<br />

Outer<br />

The explicit Join (page 243) prefix can be preceded by the prefix outer in order to specify an outer join. In<br />

an outer join all combinations between the two tables are generated. The outer keyword is optional.<br />

outer join [ (tablename ) ](loadstatement |selectstatement )<br />

Example:<br />

255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!