Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere embedded SQL


Library function reference

The SQL preprocessor generates calls to functions in the interface library or DLL. In addition to the calls generated by the SQL preprocessor, a set of library functions is provided to make database operations easier to perform. Prototypes for these functions are included by the EXEC SQL INCLUDE SQLCA statement.

This section contains a reference description of these various functions.

DLL entry points

The DLL entry points are the same except that the prototypes have a modifier appropriate for DLLs.

You can declare the entry points in a portable manner using _esqlentry_, which is defined in sqlca.h. It resolves to the value __stdcall.

alloc_sqlda function
alloc_sqlda_noind function
db_backup function
db_cancel_request function
db_change_char_charset function
db_change_nchar_charset function
db_delete_file function
db_find_engine function
db_fini function
db_get_property function
db_init function
db_is_working function
db_locate_servers function
db_locate_servers_ex function
db_register_a_callback function
db_start_database function
db_start_engine function
db_stop_database function
db_stop_engine function
db_string_connect function
db_string_disconnect function
db_string_ping_server function
db_time_change function
fill_s_sqlda function
fill_sqlda function
free_filled_sqlda function
free_sqlda function
free_sqlda_noind function
sql_needs_quotes function
sqlda_storage function
sqlda_string_length function
sqlerror_message function