Zoomed Image

AMSX Scripting Language - Command : makevariablesqlsafe

Summary

Mark a named variable as SQL-safe so it is inlined rather than parameterised

Description

Flags the named variable as a SQL snippet. When the variable is used in a SQL statement it will be substituted directly into the SQL text rather than being passed as a parameter. Use with caution - only apply to values you control.

Parameters

ParameterDescription
cmdvariable name

Syntax


MakeVariableSqlSafe "variable name"

Return to the AMSX Command Reference