Zoomed Image

AMSX Scripting Language - Command : sqlstatement.selectinto

Summary

Execute a SQL statement variable and store the results in a new temp table

Description

Runs the SQL statement variable and writes the result set into a new temporary table. If no table name is supplied, a unique temp table name is generated automatically and returned in the result buffer.

Parameters

ParameterDescription
cmdSQL statement variable name
Argument 0destination temp table name, or leave blank to auto-generate

Syntax


SqlStatement.SelectInto "SQL statement variable name", "destination temp table name, or leave blank to auto-generate"

Return to the AMSX Command Reference