Subject | RE: [Firebird-Architect] Feature Request: Domains in SP & |
---|---|
Author | Claudio Valderrama C. |
Post date | 2004-10-13T02:03:05Z |
Dmitry Yemanov wrote:
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.
>Can you give a couple of brief concrete examples?
> 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.
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.