Zoomed Image

AMSX Scripting Language - Command : BatchSql

Summary

Execute a batch of SQL commands wrapped in the standard SQL wrapper

Description

Runs a SQL batch through the connection's Execute method using the command's SQL wrapper. Use for DDL or multi-statement batches that do not return results.

Parameters

ParameterDescription
cmdSQL batch text to execute

Syntax


BatchSql "SQL batch text to execute"

Return to the AMSX Command Reference