Use the SET SQLCA embedded SQL statement to tell the SQL preprocessor to use a specific SQLCA for database requests.
Prérequis
There are no prerequisites for this task.
Initialize Each SQLCA used in your program with a call to db_init.
At the top of your program or in a header file, set the SQLCA reference to point at task specific data:
EXEC SQL SET SQLCA 'task_data->sqlca'; |
This statement does not generate any code and does not affect performance.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |