@streamΒΆ

Executing declared statements producing structured data stream.

See also

Declarations and Execution.

Example:

1
2
3
@src = dual(5) | select(datetime:t, string:s, ipaddr:ip);

@src;
where:
  • on line 1 we declare a statement producing 5 rows of data consisting of three fields
  • on line 3 we execute the declared statement

Hint

you can execute also statements declared in included query script files.