Issue Details (XML | Word | Printable)

Key: DOC-28
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Helen Borrie
Reporter: Ain Valtin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Documentation

Defaults in CREATE COLLATION DDL

Created: 24/Apr/08 08:25 AM   Updated: 25/Dec/08 06:20 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Helen Borrie added a comment - 25/Dec/08 06:20 PM
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.