Subject | Re: [firebird-support] Field Size increase |
---|---|
Author | Moegamat Alexander |
Post date | 2008-10-02T08:59:27Z |
Hi
Thanx for that Helen. I kinda did what you said... Im using sqlmanager
from ems and although I dont want to discuss the merits of the products
is this the kinda error I would generally.
Unsuccessful metadata update.
Column ITEMNO from table ITEMS is referenced in CHECK_3.
Regards
M
alter myvchar type varchar(15)
As for dependencies, if the column is a foreign key to a varchar of
less than 15 then you will have to alter the parent key first.
Also pay attention to any triggers or stored procedures that have
defined a varchar(10) variable to take output from the column...
./heLen
Thanx for that Helen. I kinda did what you said... Im using sqlmanager
from ems and although I dont want to discuss the merits of the products
is this the kinda error I would generally.
Unsuccessful metadata update.
Column ITEMNO from table ITEMS is referenced in CHECK_3.
Regards
M
>>> Helen Borrie <helebor@...> 10/02/08 10:50 AM >>>At 18:41 2/10/2008, you wrote:
>Hifor
>
>Are there any painless method of increasing a fields size lets say
>a fields varchar(10) to varchar(15) without having to do quite a bitof
>work.and
>I have worked with oracle extensively and this proved to quite easy
>simple to do with a alter table command. I have a fields that quitebreak./drop
>extensively used in my database and trying to extend the fields by 5
>characters gives all sort of dependency issues. Do I have to
>all the dependancies to the alter and recreate the dependanciesagain.
>Surely there must be an easier way to do this? BTW the table(s) doesalter table atable
>have data in.
alter myvchar type varchar(15)
As for dependencies, if the column is a foreign key to a varchar of
less than 15 then you will have to alter the parent key first.
Also pay attention to any triggers or stored procedures that have
defined a varchar(10) variable to take output from the column...
./heLen