Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaults in CREATE COLLATION DDL [DOC28] #37

Closed
firebird-automations opened this issue Apr 24, 2008 · 2 comments
Closed

Defaults in CREATE COLLATION DDL [DOC28] #37

firebird-automations opened this issue Apr 24, 2008 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: Ain Valtin (ain)

CREATE COLLATION has optional parts

[ NO PAD | PAD SPACE ]
[ CASE SENSITIVE | CASE INSENSITIVE ]
[ ACCENT SENSITIVE | ACCENT INSENSITIVE ]

but in 2.1 Release notes it isn't mentioned what are the defaults when one doesn't specify them. Example in "The UNICODE Collations" chapter suggest that for case sensitivity the default is CASE SENSITIVE, but it should be spelled out in "The CREATE COLLATION Statement" chapter for all options.

@firebird-automations
Copy link
Author

Modified by: @paulvink

assignee: Paul Vinkenoog [ paulvink ] => Helen Borrie [ helebor ]

@firebird-automations
Copy link
Author

Commented by: @helebor

AFAIU, according to the convention we (and other vendors) use for syntax patterns, the first member of a set of interchangeable optional attributes is always the default, i.e., it will be used if the attribute is not explicitly declared otherwise. Dmitry, please confirm or deny.

In the interests of self-documentation, I would always recommend explicitly declaring the attributes, even if the default is the intended choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants