Posted by: JPATOU
Dear Sir/Madam
We have encountered a bug with SqlBase Ver. 7.5.1 PTF3
Current Setup:
Windows 2000 Server running SqlBase Ver. 7.5.1 PTF3
Non Clustered Database (Size 9Gb)
The bug is the following.
We have a table (TABLE1) with approximately 11.500.000 rows and a
primary key consisting of 3 fields as below:
Field1 VARCHAR(20)
Field2 VARCHAR(16)
Field3 SMALLINT
When we try to transfer a portion of data from TABLE1 to a similar table
TABLE2 with the same primary key (or try to reorganize the DB) the
database returns error “00805 ROW NUD Insert/update of unique
constrained columns with duplicate data”.
In order to find the duplicate row we unload a compress sql of TABLE1
and then load it without the primary key and the UNIQUE index. After the
load operation complete we found out that there was a duplicate row on
the primary key of TABLE1.
But when we execute the select statement on TABLE1 in order to find the
duplicate row the select statement returns only one row. Actually the
duplicate row is invisible.
We deleted the row from TABLE1. After that the select statement returns
0 rows for the duplicate key so we did again the same job with the
unload and load.
When the load finished we found again the invisible row that was in TABLE1.
So with this bug there is a violation at the uniqueness of the primary
key and the unique index.
Is there a fix for this bug for version 7.5.1 ?
Is it fixed in later versions of SqlBase?
Thanks in Advance