Executes an SQL query using the current active connection.
Use with SQL Queries that do not return data.
Syntax
DB_Exec(SQL)
Arguments
SQL
an SQL query.
Return value
true if executed successfully;
false in all other cases.
Example
DB_Exec("insert into orders (ShipName, Freight, OrderDate) values ('Jonh Smith', 128.12, CURDATE())")
See also:
•Database API: SetConnection()