Hello!
I have a special collation defined for my firebird databases:
CREATE COLLATION ES_ES_AI
FOR ISO8859_1
FROM ES_ES
NO PAD
CASE SENSITIVE
ACCENT INSENSITIVE;
Under Firebird 2.5 it was possible to define this collation as the default for all the purposes in the whole database, and I don't need any special command to have all my talbes an all the funcions unsing this collation. Fore example, each time I create a new table it become defined with all the fields with that collation. When I verify the DDL I see:
CREATE TABLE ABOG
(
ABOG Char(10) NOT NULL COLLATE ES_ES_AI,
DSCR Varchar(240) NOT NULL COLLATE ES_ES_AI,
CONSTRAINT ABOG_PK PRIMARY KEY (ABOG)
);
Also, all the funcions works naturally using my collation as a default.
But under Firebird 3 and Firebird 4 I can’t get same result. For example the tables are not create by default with that collation. When I verify the DDL I see:
CREATE TABLE ABOG
(
ABOG Char(10) NOT NULL,
DSCR Varchar(240) NOT NULL,
CONSTRAINT ABOG_PK PRIMARY KEY (ABOG)
);
Also, if I use functions like "lower" or "upper" it seems they are not using my collation.
How can I get same solution on FB3 and FB4?. I tried to set a default collation for ISO8859_1 but then I get all the tables with all the fields defined with a special code (instead of the standard field type), for example "ABOG RDB$4 NOT NULL" or "DSCR RDB$5 NOT NULL".
THANK YOU in advanced!!!
Best regards,