000182481
Difference in behavior handling overflow when inserting numeric data into Sybase IQ on Windows 32-bit as compared to Windows 64-bit and Unix
Information |
Title | Difference in behavior handling overflow when inserting numeric data into Sybase IQ on Windows 32-bit as compared to Windows 64-bit and Unix |
---|
URL Name | Difference-in-behavior-handling-overflow-when-inserting-numeric-data-into-Sybase-IQ-on-Windows-32-bit-as-compared-to-Windows-64-bit-and-Unix |
---|
Article Number | 000182481 |
---|
Environment | Product: Connect for ODBC Sybase IQ Wire Protocol driver
Version: 07.14.0153 OS: Windows 32-bit Database: Sybase IQ 16 Application: N/A |
---|
Question/Problem Description |
|
---|
Steps to Reproduce | Steps to reproduce issue:
1) Connect to Sybase IQ using the Sybase IQ driver. 2) SQLExecDirect: CREATE TABLE TEST (COL_NUMERIC NUMERIC(60,10) NOT NULL,NUM INTEGER NULL ) 3) SQLPrepare: INSERT INTO TEST (COL_NUMERIC,NUM) VALUES (?,10) 4) SQLBindParameter: hstmt, 1, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_NUMERIC,60, 10, {char buffer of length 64} Parameter value: 10 5) SQLExecute Observed Results: Data is inserted successfully on Windows 32-bit while on Windows 64-bit and Unix an error is returned on SQLExecute. Expected Results: An error should be returned. |
---|
Clarifying Information |
---|
Error Message |
---|
Defect Number | Defect 31573 |
---|
Enhancement Number |
---|
Cause |
---|
Resolution |
|
---|
Workaround |
---|
Notes |
---|
Last Modified Date | 11/20/2020 7:25 AM |
---|
Files |
Disclaimer |
The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information. Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages. |