Executes a SQL in the specified database connected to the current document. Note! The resultSetInstance have to be deleted with call to 'DBSQLExecuteDelete'
FUNCTION DBSQLExecute(
database : STRING;
SQLQuery : DYNARRAY[] of CHAR;
VAR outColumnCnt : LONGINT;
VAR outResultSetInst : LONGINT): BOOLEAN;def vs.DBSQLExecute(database, SQLQuery):
return (BOOLEAN, outColumnCnt, outResultSetInst)| Name | Type | Description |
|---|---|---|
| database | STRING | |
| SQLQuery | DYNARRAY[] of CHAR | |
| outColumnCnt | LONGINT | |
| outResultSetInst | LONGINT |
Availability: from Vectorworks 2011