[SOLVED] MSS U5.0 driver producing a CAST error
Author: p.lovati@pokerspa.it (PaoloLovati)
Hi all, a table has its primary key defined as numeric so it has NOT NULL in the database. The key has to be filled by a db SEQUENCE, so it is left empty in the component. When the WRITE applies the MSS drivers tries to store spaces instead of NULL in the field, producing a CAST error. The ORA driver handles this correctly. It looks like a bug (BUG 29424) solved for DB2 driver... Uniface : [MSW] 9.6.08.02, X801 SQLServer System Information : ------------------------------------------------ Driver : sqlncli11.dll 11.00.3000 ODBC Version : 03.80.0000 Driver ODBC Version : 03.80 SQLServer2 Database Information : ------------------------------------------------ DBMS name : Microsoft SQL Server DBMS Version : 11.00.3156 Thanks for any reply. Paolo




