Open
Description
Submitted by: Chris Laurie (chrislaurie)
Is duplicated by CORE1404
Is duplicated by CORE4128
I have a tool that creates and runs the scripts to maintain my table structure. The following DDL was accepted and created by Firebird but then later throws a type conversion error. If I remove the default '' from the DATE columns then the app works fine. Should the DDL not be rejected for an invalid default type?
Create Table QUESTIONAIREEDITION (ID char(20) Default '' NOT NULL CONSTRAINT PKQUESTIONAIREEDITION PRIMARY KEY, ENTITYID char(20) Default '', QUESTIONAIREID char(20) Default '', DESCRIPTION varchar(50) Default '', FROMDATE date Default '', TODATE date Default '', SEQUENCE integer Default 0)