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

0 = ? = ? = ? in CI_AI Collations [CORE1201] #1626

Open
firebird-automations opened this issue Apr 9, 2007 · 4 comments
Open

0 = ? = ? = ? in CI_AI Collations [CORE1201] #1626

firebird-automations opened this issue Apr 9, 2007 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Jorge Andres Brugger (jbrugger)

CREATE TABLE NEW_TABLE (NEW_FIELD VARCHAR(10) CHARACTER SET ISO8859_1 NOT NULL COLLATE ES_ES_CI_AI);
alter table NEW_TABLE add constraint PK_NEW_TABLE primary key (NEW_FIELD);

1) insert into NEW_TABLE values ('0');
2) insert into NEW_TABLE values ('?');
3) insert into NEW_TABLE values ('?');
4) insert into NEW_TABLE values ('?');

2-4: Invalid insert or update value(s): object columns are constrained - no 2 table rows can have duplicate column values.
violation of PRIMARY or UNIQUE KEY constraint "PK_NEW_TABLE" on table "NEW_TABLE".

SQL Server CI_AI and MySQL considers 0, ?, ?, ? all different values.

@firebird-automations
Copy link
Collaborator Author

Commented by: Jorge Andres Brugger (jbrugger)

Seems Jira doesn't like special chars :)

I was talking about 0, 1/2, 1/4 and 3/4.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Version: 2.1 Initial [ 10160 ]

Version: 2.0.1 [ 10090 ] =>

Version: 2.0.0 [ 10091 ] =>

Version: 2.1 Beta 1 [ 10141 ] =>

Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11750 ] => Firebird [ 15543 ]

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