lrd_server_attach

Example: lrd_server_attachOracle 8.0 Functions

Creates an access path to a data source for database operations. (Oracle 8.0 and later)

LRDRET lrd_server_attach( void *mpvLRDDBIHandleServer, char *mpcServerID, long mliServerIDLen, long mliMode,
int miDBErrorSeverity );

mpvLRDDBIHandleServer A pointer to an LRDDBI server handle.
mpcServerID A pointer to the database server identification string.
mliServerIDLen The length of the database server identification string.
mliMode The mode of operation. Only a zero value is supported.
miDBErrorSeverity The Error Severity Levels of a failure in a database routine.

The lrd_server_attach function creates an access path to a data source for database operations. This function is only supported for Oracle 8.0 and higher.

For additional details, refer to the Function Header File lrd.h.

Return Values

See LRD Return Values.

Parameterization

The following argument can be parameterized using standard parameterization: mpcServerID