How the Engine Detects the Collation
The optional FROM clause specifies the base collation that is used to derive a new collation.This collation must already be present in the database.If the keyword EXTERNAL is specified, then Firebird will scan the .conf files in $fbroot/intl/, where extname must exactly match the name in the configuration file (case-sensitive).
If no FROM clause is present, Firebird will scan the .conf file(s) in the intl subdirectory for a collation with the collation name specified in CREATE COLLATION.In other words, omitting the FROM basecoll clause is equivalent to specifying FROM EXTERNAL ('collname').
The — single-quoted — extname is case-sensitive and must correspond exactly with the collation name in the .conf file.The collname, charset and basecoll parameters are case-insensitive unless enclosed in double-quotes.
When creating a collation, you can specify whether trailing spaces are included in the comparison.If the NO PAD clause is specified, trailing spaces are taken into account in the comparison.If the PAD SPACE clause is specified, trailing spaces are ignored in the comparison.
The optional CASE clause allows you to specify whether the comparison is case-sensitive or case-insensitive.
The optional ACCENT clause allows you to specify whether the comparison is accent-sensitive or accent-insensitive (e.g. if ‘'e'’ and ‘'é'’ are considered equal or unequal).