Descriptions of known issues and workarounds for Sybase IQ operations from previous versions.
In Sybase IQ 15.2, PHP: Hypertext Preprocessor (PHP) drivers on big endian platforms require bound parameters to be initialized before the call to sasql_stmt_bind_param for INT and BIGINT data types.
$stmt = sasql_prepare($conn, "insert into testdefault(c1, c2, c3, c5) values(?,?,?,?)"); #Binding parameters with statement prepared $c1=22; $c2=33; $c3="col3data"; $c5="col5data"; sasql_stmt_bind_param ($stmt,"iiss", $c1, $c2, $c3, $c5); #executing statement sasql_stmt_execute($stmt);
Could not execute statement. Syntax error near '2010' on line 1 SQLCODE=-131, ODBC 3 State="42000" Line 1, column 1
After this procedure, certain strings in the .iqmsg files and the output of sp_iqmpxinfo, sp_iqstatistics, and sp_iqstatus are in English, instead of Chinese or Japanese.
Msg 7225, Level 16, State 4: Line 1: Unknown datatype token 188 'BIGDATETIME NULL' encountered. Exited passthru mode from server 'QA_IQ15_ASECIS'.
Sybase IQ sends the data as BIGDATETIME and relies on Adaptive Server to convert appropriately. The BIGDATETIME data type was implemented in CIS in Adaptive Server Enterprise version 15.5 ESD #1, so this error occurs with Adaptive Server Enterprise 15.5 before any ESDs have been applied.
Workaround:
SET TEMPORARY OPTION RETURN_DATE_TIME_AS_STRING='ON' in Sybase IQ for each session. The Sybase IQ server sends all chronological data as strings and Adaptive Server completes the conversion. This workaround is for Adaptive Server Enterprise 15.5 GA connecting to Sybase IQ in passthrough mode.
You can also use this workaround in the definition of a remote stored procedure, but it is not a solution for proxy tables created on Adaptive Server returning chronological data types from Sybase IQ.
RSA certificate creation fails with the error createcert command not found because the createcert utility is missing. The utility is currently available only on the AIX64, LinuxAMD64, Sun64, and Win32 platforms. Please contact Sybase Technical Support, if you need this utility.