Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 2065
News FAQ
Search Home


next up previous contents
Next: FROM table_list Up: Selection from a table Previous: SELECT column_list


INTO [table] [AS type]

This indicates that the ultimate result of the SELECT command should be written to a table (with the given name). This table can be a reference table, a plain table, or a memory table.

The table argument gives the name of the resulting table. It can be omitted if a memory table is created.

The type argument is optional and can be one of several values:

MEMORY
to store the result in a memory table.
PLAIN
to store the result in a plain table. Its endian format is determined by the aipsrc definition.
PLAIN_BIG
to store the result in a plain table in big-endian format.
PLAIN_LITTLE
to store the result in a plain table in little-endian format.
PLAIN_LOCAL
to store the result in a plain table in native endian format.
If type is not given, the result will be written in a reference table. However, if expressions are given in the column list of a projection, the result is written in a plain table.
The standard TaQL way to define the output table is the GIVING clause. INTO is available for SQL compliance.


next up previous contents
Next: FROM table_list Up: Selection from a table Previous: SELECT column_list   Contents
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2011-08-13