Subject | Re: [ib-support] Computed by Type |
---|---|
Author | Paul Reeves |
Post date | 2001-09-26T12:14:45Z |
Gerhardus Geldenhuis wrote:
create table test_comp1(
ats timestamp,
yesterday computed by (cast(ats-1 as timestamp))
);
Paul
--
Paul Reeves
http://www.ibphoenix.com
taking InterBase further
> The only clause that works isUse a CAST expression. eg:
> DATEOFCOMPLETION COMPUTED BY (DATEOFCOLLECTION-1),
>
> How do I specify "type" and "computed by" for the same field?
>
create table test_comp1(
ats timestamp,
yesterday computed by (cast(ats-1 as timestamp))
);
Paul
--
Paul Reeves
http://www.ibphoenix.com
taking InterBase further