Zoomed Image

AMSX Scripting Language - Command : SqlStatement.Sql

Summary

Render a SQL statement variable into the collected SQL buffer

Description

Generates the final SQL string from the SQL statement variable and writes it into the AMSX collected SQL buffer (accessible via %text%). Use this to hand off a dynamically built query to a subsequent Execute or text-block command.

Parameters

ParameterDescription
cmdSQL statement variable name

Syntax


SqlStatement.Sql "SQL statement variable name"

Return to the AMSX Command Reference