|
<< Click to Display Table of Contents >> DbiGetTableTypeDesc |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiGetTableTypeDesc (pszDriverType, pszTableType, ptblType);
Delphi syntax
function DbiGetTableTypeDesc (pszDriverType: PChar; pszTableType: PChar; var tblType: TBLType): DBIResult stdcall;
Description
DbiGetTableTypeDesc returns a description of the capabilities of the table type given in pszTableType for the driver type given in pszDriverType.
Parameters
pszDriverType Type: pCHAR (Input)
Pointer to the driver type.
pszTableType Type: pCHAR (Input)
Pointer to the table type. Use DbiOpenTableTypesList to get a list of valid table types.
ptblType Type: pTBLType (Output)
Pointer to the client-allocated TBLType structure.
Usage
SQL: The table type distinguishes between views, queries, and tables. It does not identify the driver type.
DbiResult |
Meaning |
DBIERR_NONE |
The table type Description was returned successfully. |
DBIERR_INVALIDHNDL |
The pointer to the driver type is NULL, or the pointer to the table type is NULL, or pTblType is NULL. |
DBIERR_UNKNOWNDRVTYPE |
The specified driver type is invalid or NULL, or the specified table type is invalid or NULL. |
See also