ODBC.execute
About
Execute a SQL statement.
This method will not create a recordset, it should be used for INSERT, UPDATE and DELETE statements.
Click here to expand Table of Contents
Synopsis
result = db.execute("sql statement");
Return value
- bool - True if the statement was successfully invoked.
Example
use("ODBC");
var db = new ODBC("dsnName", "username", "password");
var sql="delete from users";
db.execute(sql);
See Also