DbiGetLdName

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiGetLdName

Return to chapter overview

C syntax

DBIResult DBIFN DbiGetLdName (pszDriver, pObjName, pLdName);

Delphi syntax

function DbiGetLdName (pszDriver: PChar; pObjName: PChar; pLdName: PChar): DBIResult stdcall;

Description

DbiGetLdName retrieves the name of the language driver associated with the specified object name (table name).

Parameters

pszDriver                Type: pCHAR                (Input)
Pointer to the driver name.

pObjName                Type: pCHAR                (Input)
Pointer to the table name.

pLdName                Type: pCHAR                (Output)
Pointer to the client buffer that receives the language driver name associated with the specified table. This buffer should be at least (DBIMAXNAMELEN + 1) in size.

Usage

If pObjName is NULL, the name of the driver's default language driver is returned.

Standard: The returned language driver name can be used as an optional parameter for DbiCreateTable as a way to override the default language driver at create time.

SQL: If pObjName is not NULL, it must be of the form :dbalias:objName.

DbiResult

Meaning

DBIERR_NONE

The name of the language driver was retrieved successfully.

See also

DbiCreateTable, DbiGetLdNameFromDb