The method for sending and retrieving LONG VARCHAR, LONG NVARCHAR, and LONG BINARY values in embedded SQL applications is different from that for other data types. The standard SQLDA fields are limited to 32767 bytes of data as the fields holding the length information (sqllen, *sqlind) are 16-bit values. Changing these values to 32-bit values would break existing applications.
The method of describing LONG VARCHAR, LONG NVARCHAR, and LONG BINARY values is the same as for other data types.
Retrieving LONG data using static SQL
Retrieving LONG data using dynamic SQL
Sending LONG data using static SQL
Sending LONG data using dynamic SQL
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |