Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 9i features?
Serge Rielau wrote:
> Sybrand Bakker wrote:
>
>> On 7 Feb 2004 00:39:22 -0800, pascaldamian_at_icqmail.com (Pascal Damian) >> wrote: >> >>> * computed field/column is not supported, use VIEW for that purpose; >> >> >> >> Has been supported all the time >>
CREATE TABLE test (
somecol NUMBER(5),
morecol NUMBER(5));
INSERT INTO test VALUES (1, 1);
COMMIT;
CREATE OR REPLACE VIEW test_view AS
SELECT somecol, morecol, (somecol + morecol) product_col
FROM test;
SELECT * FROM test_view;
This ability has been in Oracle for more than a decade.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Sat Feb 07 2004 - 19:20:58 CST