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

EXTEND THE LENGTH OF A VARCHAR FIELD [CORE3898] #4234

Closed
firebird-automations opened this issue Jul 27, 2012 · 3 comments
Closed

EXTEND THE LENGTH OF A VARCHAR FIELD [CORE3898] #4234

firebird-automations opened this issue Jul 27, 2012 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Emil Ojackov (finalist)

I need to extend the lenght of a VARCHAR field in a FIREBIRD database (table).
I need to do it keeping the stored information in the table.
Is it possible ?
( I did it, but I lost all the stored information in the table. I used the following syntax:
ALTER TABLE table_name ALTER field_name TYPE VARCHAR(48)
)
After I executed the above command, it was really extended the field length to varchar(48), but the table was empty as a result, that I don't like. I need to keep all the information in that table.
Thanks !

@firebird-automations
Copy link
Collaborator Author

Commented by: @ibaseru

altering column type does not delete information stored in that column. So, you did something else that deleted info in that column.
This is also a support question, not a tracker issue, so please, don't use tracker until you 100% sure that you found not fixed bug (and in an old FB version like 2.1.4).

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Cannot Reproduce [ 5 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

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

1 participant