invantive documentation
Invantive Support ForumsLog In / Sign Up

Set Statement

Syntax

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    setStatement_start((START))
    setStatement_start --> setStatement_0_0[SET]:::quoted
    setStatement_0_0 --> setStatement_0_1[attributeIdentifier]
    setStatement_0_1 --> setStatement_0_1b[distributedAliasDirective]
    setStatement_0_1b --> setStatement_0_2
    setStatement_0_1 --> setStatement_0_2[<a href="Invantive UniversalSQL/Grammar/Expression" class="internal-link">expression</a>]
    setStatement_0_2 --> setStatement_end((END))

Purpose

Sets the value of an attribute of the driver or of the UniversalSQL-engine.

The name of an attribute can also be written between double quotes. That is needed when a part of the name is a keyword of the grammar: set invantive-sql-share-byte-arrays false raises a syntax error at byte (itgensql056 up to and including release 27.0, a code of the series itgensyn from release 28.0; see Syntax Errors), while set "invantive-sql-share-byte-arrays" false sets the attribute.

Examples

To disable use of the HTTP disk cache for all future SQL statements:

set use-http-disk-cache false

To change number of parallel requests for all Exact Online data container eol access to at most 32 parallel requests:

set requests-parallel-max@eol 32

To instruct the UniversalSQL engine to shuffle the data returned from data containers before returning them:

set invantive-sql-shuffle-result-data-containers true

To stop sharing the memory of identical byte arrays, with the name of the attribute between double quotes:

set "invantive-sql-share-byte-arrays" false