$sql

Executes the given sql statement on the database of the current branch using a transaction in update-mode.
Syntax
    $sql{sql_statement}
DocumentationExecutes the given sql statement on the database of the current branch by using a transaction in update-mode:

    Parameters:
      sql_statement, the sql statement to be executed.
    Note:
      a transaction in update-mode locks the database of the branch until done.
      You should use the $sqlQuery function to execute queries.
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters0
Maximum parameters 0