We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: @ibaseru
Is related to QA576
Alterting char/varchar columns to lower size produces error
New size specified for column fff must be at least NN characters.
where NN is bytes per character, not character size of field/domain itself.
Example to reproduce (employee):
ALTER TABLE EMPLOYEE ADD UTF VARCHAR(100) CHARACTER SET UTF8; commit; ALTER TABLE EMPLOYEE ALTER COLUMN UTF8 TYPE VARCHAR(90);
error message says
This operation is not defined for system tables. unsuccessful metadata update. New size specified for column UTF must be at least 400 characters.
where, as you see, 400 is rdb$field_length, not rdb$character_length (100).
So, correct error message must be New size specified for column UTF must be at least 100 characters.
Commits: 94a9c6d
The text was updated successfully, but these errors were encountered:
assignee: Adriano dos Santos Fernandes [ asfernandes ]
Sorry, something went wrong.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 3.0 Alpha 1 [ 10331 ]
Link: This issue is related to QA576 [ QA576 ]
status: Resolved [ 5 ] => Resolved [ 5 ]
QA Status: Done successfully
Commented by: @pcisar
Test created.
status: Resolved [ 5 ] => Closed [ 6 ]
asfernandes
No branches or pull requests
Submitted by: @ibaseru
Is related to QA576
Alterting char/varchar columns to lower size produces error
New size specified for column fff must be at least NN characters.
where NN is bytes per character, not character size of field/domain itself.
Example to reproduce (employee):
ALTER TABLE EMPLOYEE ADD UTF VARCHAR(100) CHARACTER SET UTF8;
commit;
ALTER TABLE EMPLOYEE ALTER COLUMN UTF8 TYPE VARCHAR(90);
error message says
This operation is not defined for system tables.
unsuccessful metadata update.
New size specified for column UTF must be at least 400 characters.
where, as you see, 400 is rdb$field_length, not rdb$character_length (100).
So, correct error message must be
New size specified for column UTF must be at least 100 characters.
Commits: 94a9c6d
The text was updated successfully, but these errors were encountered: