<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.
file1.txt file1.txt, file2.txt file1.txt; D:\file2.txt; file3.txt
file2.txt, 'C:\Program Files\file3.txt', file4.txt
< > ( ) [ ] { }The following examples show valid from-entities containing parenthesys characters:
entity<value> entity[value]valueThe following examples show invalid from-entities containing parenthesys characters:
entity>value< entity}value entity(value
C:\Program\u0020Files\file3.txt
tab carriage-return line-feed , ( ) " < >
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\SOFTWAREB. <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
Basics of a Query
Input Formats Reference
© 2004 Microsoft Corporation. All rights reserved.