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-issue-importer opened this issue Mar 25, 2008 · 9 comments
Closed

Default COLLATE for CREATE DATABASE statement [CORE1803] #2231

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

Comments

@firebird-issue-importer

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2008

Modified by: @dyemanov

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2008

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 25, 2008

Commented by: @asfernandes

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 28, 2008

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 28, 2008

Commented by: @dyemanov

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 15, 2008

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 Alpha 1 [ 10224 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 23, 2011

Modified by: @pcisar

Link: This issue is related to QA312 [ QA312 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants