Problem with unidac, Oracle and field defaults
Posted: Fri 29 Oct 2010 13:57
Hi,
I created a table in the database, then added two fields: Field1 Number (3) default 0 not null and field2 Number (3).
When adding the fields in the query was as field1 and field2 FloatField as smallint, and are equal. After I changed the field2 to not null and default value 0, being equal to field1, yet there was a difference in the query.
I use Delphi 7. Oracle 11.2.0.1.0. UniDAC 3.00.0.6.
What is the explanation for the problem?
I created a table in the database, then added two fields: Field1 Number (3) default 0 not null and field2 Number (3).
When adding the fields in the query was as field1 and field2 FloatField as smallint, and are equal. After I changed the field2 to not null and default value 0, being equal to field1, yet there was a difference in the query.
I use Delphi 7. Oracle 11.2.0.1.0. UniDAC 3.00.0.6.
What is the explanation for the problem?