INTO

<into_clause> ::= INTO <into_entity>

The INTO clause is used to specify the output format target(s) to which the query output records are to be written.


Remarks:


Examples:

A. Explicit <into_entity>

The following example query specifies an explicit target CSV file for the CSV output format:
SELECT *
INTO MyOutput.csv
FROM System

B. Implicit <into_entity>

The following example query uses an implicit STDOUT target for the NAT output format:
SELECT *
FROM System

C. Explicit <into_entity>

The following example query specifies an explicit STDOUT target for the NAT output format:
SELECT *
INTO STDOUT
FROM System

See also:

FROM

Basics of a Query
Output Formats Reference


© 2004 Microsoft Corporation. All rights reserved.