May be it is the case.
Another thing you can try is to create brand new database ans run scripts provided.
Mike
Thanks Mike.
I tried to create new database in iqsl-fb using script interbase-sakila-schema.sql but I got a lot of errors, so I tried to track every line in script and got forst error on
CREATE TABLE customer (
customer_id INT NOT NULL,
store_id INT NOT NULL,
first_name VARCHAR(45) NOT NULL,
last_name VARCHAR(45) NOT NULL,
email VARCHAR(50) DEFAULT NULL,
address_id INT NOT NULL,
active CHAR(1) DEFAULT 'Y' NOT NULL,
create_date TIMESTAMP NOT NULL,
last_update TIMESTAMP NOT NULL,
PRIMARY KEY (customer_id),
CONSTRAINT fk_customer_address FOREIGN KEY (address_id) REFERENCES address (address_id) ON DELETE NO ACTION ON UPDATE CASCADE
);
I got message:
SQL> CREATE TABLE customer (
CON> customer_id INT NOT NULL,
CON> store_id INT NOT NULL,
CON> first_name VARCHAR(45) NOT NULL,
CON> last_name VARCHAR(45) NOT NULL,
CON> email VARCHAR(50) DEFAULT NULL,
CON> address_id INT NOT NULL,
CON> active CHAR(1) DEFAULT 'Y' NOT NULL,
CON> create_date DATE NOT NULL,
CON> last_update DATE NOT NULL,
CON> PRIMARY KEY (customer_id),
CON> CONSTRAINT fk_customer_address FOREIGN KEY (address_id) REFERENCES address (address_id) ON DELETE NO ACTION ON UPDATE CASCADE
CON> );
Statement failed, SQLCODE = -104
Dynamic SQL Error
-SQL error code = -104
-Token unknown - line 8, column 3
-active
So I guess sakila-sample for firebird has internal defect.
I launched isql-fb with dialect 3.