Hi,
Delphi 2007, UniDAC 1.20.0.13.
When I edit string field via, for example, DBEdit control and delete value, SQL Server post to database '' not null value.
Oracle and Interbase providers post correct null value!
TIA and Best regards
Branko
SQL Server provider and Null string
When you assign an empty string to a field, this empty string is posted to the database. When you assign Null to a field, Null is posted to the database. This is the correct behaviour.
There was a bug in the InterBase provider. We'll fix this bug in the next UniDAC build. So that the InterBase provider will also post an empty string.
Oracle server does not distinguish NULL and empty string. When you insert an empty string to the Oracle database it is always replaced with NULL.
There was a bug in the InterBase provider. We'll fix this bug in the next UniDAC build. So that the InterBase provider will also post an empty string.
Oracle server does not distinguish NULL and empty string. When you insert an empty string to the Oracle database it is always replaced with NULL.