Zoomed Image

AMSX Scripting Language - Command : sqlsnippet

Summary

Store a SQL-safe string in a variable for use in SQL statement construction

Description

Marks the result as SQL-safe so it can be embedded directly into a SQL statement without additional escaping. Must be used with variable assignment (e.g. Set Variable.x = SqlSnippet "..."). Throws if not assigned to a variable.

Parameters

ParameterDescription
cmdSQL snippet text to store as SQL-safe

Syntax


SqlSnippet "SQL snippet text to store as SQL-safe"

Return to the AMSX Command Reference