Pozdr,
Tyberiusz
--
Wysłano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Sluzy do ogranicznenia wstawiania/zmiany przez widok.
Nie mozna wstawiac wartosci, ktore nie sa widoczne przez ten widok.
SQL> create table a (id number);
Table created.
SQL> create view v_a as select * from a where id>10;
View created.
SQL> insert into v_a values (5);
1 row created.
SQL> create view v_a1 as select * from a where id>10 with check option;
View created.
SQL> insert into v_a1 values (5);
insert into v_a1 values (5)
*
ERROR at line 1:
ORA-01402: view WITH CHECK OPTION where-clause violation
Pozdrowienia,
LW