FROM

<from_clause> ::= FROM <from_entity>

The FROM clause is used to specify the input format source(s) from which the query input records are to be read.


Remarks:


Examples:

A. <from_entity> with the REG input format

The following example query reads input records from the registry using the REG input format:
SELECT *
FROM \HKLM\SOFTWARE

B. <from_entity> with the EVT input format

The following example query reads input records from the System and Security event logs using the EVT input format:
SELECT *
FROM System, Security

See also:

INTO

Basics of a Query
Input Formats Reference


© 2004 Microsoft Corporation. All rights reserved.