|
CREATE TABLE VIEWPRT1(PARTNO INT as identity(start with 1),
INSERT INTO ROB/VIEWPRT1 (DUH) VALUES('a')1 rows inserted in VIEWPRT1 in ROB.
CREATE TABLE VIEWPRT2(PARTNO INT as identity(start with 2001),
CREATE TABLE VIEWPRT3(PARTNO INT as identity(start with 3001),
INSERT INTO ROB/VIEWPRT2 (DUH) VALUES('c')1 rows inserted in VIEWPRT2 in ROB.
INSERT INTO ROB/VIEWPRT3 (DUH) VALUES('d')1 rows inserted in VIEWPRT3 in ROB.
CREATE INDEX ROB/viewprtl1 ON ROB/VIEWPRT1 (PARTNO ASC)Index VIEWPRTL1 created in ROB on table VIEWPRT1 in ROB.
CREATE INDEX ROB/viewprtl2 ON ROB/VIEWPRT2 (PARTNO ASC)Index VIEWPRTL2 created in ROB on table VIEWPRT2 in ROB.
CREATE INDEX ROB/viewprtl3 ON ROB/VIEWPRT3 (PARTNO ASC)Index VIEWPRTL3 created in ROB on table VIEWPRT3 in ROB.
create view rob/viewprtc asselect * from rob/viewprt1 union all
select * from rob/viewprtcorder by partno
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.