Contents Index db_fini function db_init function

ASA Programming Guide
  Embedded SQL Programming
    Library function reference

db_get_property function


Prototype 

unsigned int db_get_property(
SQLCA * sqlca,
a_db_property property,
char * value_buffer,
int value_buffer_size );

Description 

This function is used to obtain the address of the server to which you are currently connected. It is used by the dbping utility to print out the server address.

The function can also be used to obtain the value of database properties. Database properties can also be obtained in an interface-independent manner by executing a SELECT statement, as described in Database properties.

The arguments are as follows:

See also 

Database properties


Contents Index db_fini function db_init function