Zoomed Image

AMSX Scripting Language - Command : sqlstatement.clearorderby

Summary

Remove the ORDER BY clause from a SQL statement variable

Description

Clears the ORDER BY clause from the given SQL statement variable. Useful when re-ordering results dynamically or removing a default sort before applying a custom one.

Parameters

ParameterDescription
cmdSQL statement variable name

Syntax


SqlStatement.ClearOrderBy "SQL statement variable name"

Return to the AMSX Command Reference