<field_expr> | ::= | <aggregate_function> <function> <field_name> <alias> <value> |
Field-expressions are a combination of symbols and functions that Log Parser evaluates to obtain a single data value. These are the basic arguments of the SELECT, USING, WHERE, GROUP BY, HAVING, and ORDER BY clauses.
Field-expressions can be divided conceptually into two groups:
A. Basic field-expressions
The SELECT clause in the following example query specifies "basic" field-expressions only:SELECT 'Event ID:', EventID, SYSTEM_TIMESTAMP() FROM SystemB. Derived field-expressions
The SELECT clause in the following example query specifies "derived" field-expressions only:SELECT TO_UPPERCASE(cs-uri-stem), SUM(sc-bytes) FROM \MyLogs\ex042805.log GROUP BY TO_UPPERCASE(cs-uri-stem)
© 2004 Microsoft Corporation. All rights reserved.