Subject | Re: [firebird-support] Remove column attribute which overrides domain attribute |
---|---|
Author | Helen Borrie |
Post date | 2007-04-11T01:07:41Z |
At 02:47 AM 11/04/2007, you wrote:
that you believe domains are going to change
regularly. What, then, do you think is the
purpose of defining domains (she inquired quizzically...) ?
If, for some reason, you want to have similar
domains with a variety of collations then define
one domain for each collation you want and use
the appropriate one for defining each particular column.
collation applied that produces smaller index
keys than the one you want to change it to. What
does it tell you when you try?
But, again, you're not meant to be changing
domain definitions on an established
database. If you need a domain with a different
set of attributes then just define it and alter
any column definitions to use that domain instead.
./heLen
>Helen Borrie escribió:"Each time the domain changes." This implies
> > Maybe in MySQL it would. :-)
> >
> > alter table mytable
> > ALTER mycolumn TYPE yourdomain
> >
> > ./heLen
> >
>Then, I need to change again, if needed, each time the domain changes.
that you believe domains are going to change
regularly. What, then, do you think is the
purpose of defining domains (she inquired quizzically...) ?
If, for some reason, you want to have similar
domains with a variety of collations then define
one domain for each collation you want and use
the appropriate one for defining each particular column.
>(FYI, "alter DOMAIN d_test type VARCHAR(10) CHARACTER SET ISO8859_1"That's quite probable, if there is currently a
>works, but you cannot specify collate)
collation applied that produces smaller index
keys than the one you want to change it to. What
does it tell you when you try?
But, again, you're not meant to be changing
domain definitions on an established
database. If you need a domain with a different
set of attributes then just define it and alter
any column definitions to use that domain instead.
./heLen