Executing declared statements producing structured data stream.
1 2 3
@src = dual(5) | select(datetime:t, string:s, ipaddr:ip); @src;
- on line 1 we declare a statement producing 5 rows of data consisting of three fields
- on line 3 we execute the declared statement
you can execute also statements declared in included query script files.