Executes a SQL query the specified DSN. It is not necessary to be registered in the ODBC manager. '''Note!''' The resultSetInstance have to be deleted with call to DBSQLExecuteDelete
FUNCTION DBSQLExecuteDSN(
dsn : DYNARRAY[] of CHAR;
userName : DYNARRAY[] of CHAR;
password : DYNARRAY[] of CHAR;
SQLQuery : DYNARRAY[] of CHAR;
VAR outColumnCnt : LONGINT;
VAR outResultSetInst : LONGINT): BOOLEAN;def vs.DBSQLExecuteDSN(dsn, userName, password, SQLQuery):
return (BOOLEAN, outColumnCnt, outResultSetInst)| Name | Type | Description |
|---|---|---|
| dsn | DYNARRAY[] of CHAR | |
| userName | DYNARRAY[] of CHAR | |
| password | DYNARRAY[] of CHAR | |
| SQLQuery | DYNARRAY[] of CHAR | |
| outColumnCnt | LONGINT | |
| outResultSetInst | LONGINT |
CMP: DSN param appears to need a POSIX path
DBSQLExecuteGet | DBSQLExecuteNext | DBSQLExecuteDelete
Availability: from Vectorworks 2011