Subject | Re: [firebird-support] Definig variable as a domain |
---|---|
Author | Helen Borrie |
Post date | 2010-03-15T07:36:09Z |
At 06:16 PM 15/03/2010, Helen Borrie wrote:
In answer to your next question, if you have written a whole bunch of PSQL on the assumption that a domain is a data type then you will have to fix them all.
./heLen
>PERCENTAGE is not a data type. The TYPE OF keyword signals to the engine that you want the variable to have the same data type as the data type of the named domain. Note that any constraints applicable to the domain do apply to the variable.Should be "do NOT apply to the variable".
In answer to your next question, if you have written a whole bunch of PSQL on the assumption that a domain is a data type then you will have to fix them all.
./heLen