Icon View Incident Report

Serious Serious
Reported By: Jose Eduardo Helminsky
Reported On: 1/15/2007
For: Version 4.25 Build 3
# 2294 SQL SUBSTRING Function Not Returning NULL or Empty Strings Properly

The following illustrates an issue with the SUBSTRING function.

Table1 structure:

Recno    Field1        Field2
------    ---------    --------
1            12345
2            12367
3            92341
4            12312
5            <empty>
6            56789
7            <empty>

update table1 set field2=substringfield11 from 4 for 2)

Recno    Field1        Field2
------    ---------    --------
1            12345        45
2            12367        67
3            92341        41
4            12312        12
5            <empty>    12   <----------------- I think it must be empty 
because substring is ''
6            56789        89
7            <empty>    89   <----------------- I think it must be empty 
because substring is ''



Resolution Resolution
Fixed Problem on 1/20/2007 in version 4.25 build 4


Products Affected Products Affected
DBISAM Additional Software and Utilities
DBISAM ODBC Client-Server
DBISAM ODBC Client-Server with Source
DBISAM ODBC Standard
DBISAM ODBC Standard with Source
DBISAM ODBC Trial
DBISAM VCL Client-Server
DBISAM VCL Client-Server with Source
DBISAM VCL Standard
DBISAM VCL Standard with Source
DBISAM VCL Trial

Image