Zoomed Image

AMSX Scripting Language - Command : executesql

Summary

Execute a SQL statement immediately

Description

Runs a single SQL statement against the database. The statement is wrapped using the command's SQL wrapper, which handles parameter injection. Does not return a result set; use ExecuteTextValue or Exists for queries that return values.

Parameters

ParameterDescription
cmdSQL statement to execute

Syntax


ExecuteSql "SQL statement to execute"

Return to the AMSX Command Reference