Subject | Re: [firebird-support] change size of varchar field |
---|---|
Author | Martijn Tonies |
Post date | 2003-12-29T07:24:31Z |
> How can I change size of varchar field in the table? With oracle I can doSure it does, but you need to use the right syntax:
> alter table TABLE_NAME modify FIELD_NAME VARCHAR(new_size)
> but it doesn't work with firebird...
ALTER TABLE table_name
ALTER column_name TYPE new_datatype
eg:
ALTER TABLE CONF
ALTER CONF_VALUE TYPE VarChar(20)
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com