CREATE MATERIALIZED VIEW with TABLESPACE
SQL> create table emp(
2 ID VARCHAR2(4 BYTE) NOT NULL,
3 fname VARCHAR2(10 BYTE),
4 lname VARCHAR2(10 BYTE),
5 Start_Date DATE,
6 End_Date DATE,
7 Salary Number(8,2),
8 City VARCHAR2(10 BYTE),
9 Description VARCHAR2(15 BYTE)
10 )
11 /
Table created.
SQL>
SQL> CREATE MATERIALIZED VIEW LOG ON emp
2 PCTFREE 5
3 TABLESPACE mv_logs
4 STORAGE (INITIAL 1M NEXT 1M) WITH ROWID;
SQL>
SQL>
SQL> drop view log;
SQL>
SQL> drop table emp;
Table dropped.
Related examples in the same category