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

Default COLLATE for CREATE DATABASE statement [CORE1803] #2231

Closed
firebird-automations opened this issue Mar 25, 2008 · 9 comments
Closed

Default COLLATE for CREATE DATABASE statement [CORE1803] #2231

firebird-automations opened this issue Mar 25, 2008 · 9 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: lacak (lacak)

Is related to QA312

Allow specify default COLLATION for newly created databases, like default CHARACTER SET

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset]
[DEFAULT COLLATION collation]

-or-

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset [COLLATE collation]]

(MS SQL and MySQL supports similar functionality)

Commits: 77e97a4

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: lacak (lacak)

description: Allow specify default COLLATION for newly created databases, like default CHARACTER SET

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset]
[DEFAULT COLLATION collation]

-or-

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset [COLLATION collation]]

(MS SQL and MySQL supports similar functionality)

=>

Allow specify default COLLATION for newly created databases, like default CHARACTER SET

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset]
[DEFAULT COLLATION collation]

-or-

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset [COLLATE collation]]

(MS SQL and MySQL supports similar functionality)

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

I prefer CORE1737, since it better integrate with RDB$COLLATIONS and connection character sets usage.

@firebird-automations
Copy link
Collaborator Author

Commented by: lacak (lacak)

I see advantages of

CREATE DATABASE ...
[DEFAULT CHARACTER SET charset [COLLATE collation]]

in:

1. Similar to others RDBMS
2. Specify at one place (or time) charset and collation per Database, using syntax like to per Column (SQL stand. ) syntax
3. More intuitive ;-) and simple

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

I'd vote for both CREATE DATABASE extension and ALTER CHARACTER SET :-)

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Alpha 1 [ 10224 ]

@firebird-automations
Copy link
Collaborator Author

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA312 [ QA312 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

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

2 participants