<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > SQLite > SQLite_Exe |
Description
Executes one or more statements.
Each statement is separated by a semicolon.
Syntax
n = SQLite_Exe(sStatements [, sModificators])
Returns
Number.
Returns zero if processed OK.
Parameters
Name |
Type |
Optional |
Meaning |
sStatements |
String |
No |
String containing a SQL command |
sModificators |
String |
Yes |
ModChars is a string with flags. Below possible options: Em = Return errors. This will override the global return errors flag. m is the optional message display modifier and can be: 0 = No message is displayed. This is the default. 1 = Display a warning message with OK button. Error is returned when OK pressed. 2 = Display a question message with OK and Cancel buttons. If they press OK, error is returned. If they press Cancel, will exit process. e = Do not return errors, display message and exit process. This will override the global return errors flag. C = Close the set even if there is another row. This is useful when all you want to do is test if a set has any rows. |
Remarks
Restrictions
See also
Examples