Subject Re: [ib-support] Computed by Type
Author Ivan Prenosil
> How do I specify "type" and "computed by" for the same field?

This works
<col_name> <type> COMPUTED BY (<expression>)
but it only accepts basic types (INTEGER, VARCHAR, ...), not domains.

Cast also works
<col_name> COMPUTED BY (CAST (<expression> AS <type>))
but it also does not accept domains.

Ivan
http://www.volny.cz/iprenosil/interbase