Subject Re: [firebird-support] Definig variable as a domain
Author Helen Borrie
At 06:16 PM 15/03/2010, Helen Borrie wrote:

>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.