Subject RE: [Firebird-Architect] Feature Request: Domains in SP &
Author Claudio Valderrama C.
Dmitry Yemanov wrote:
>
> To clarify a bit. I was thinking about typeof() construct as a
> built-in dynamic datatype. I.e. you may cast(something as
> typeof(domain))
> as well as
> using it in procedure parameters declaration. Quite flexible, but
> requires some form of BLR [in]validation to be implemented first, IMO.

Can you give a couple of brief concrete examples?
Typeof is very programming language oriented, something that scares the
declarative nature of SQL.
:-)
Do we need such operator to strip a domain from all its attributes or should
cast(something as domain)
take only the data type?

C.