Обсуждение: update and inherits

Поиск
Список
Период
Сортировка

update and inherits

От
"Jonathan davis"
Дата:
>i want to : update virtual_table set field1 = 3 where index = 4;
>
>create table virtual_table(index int4, field1 int4);
>
>create table table1 ( ....)inherits(virtual_table);
>
>create table table2( ....)inherits(virtual_table);
>
>insert into table1(index, field1) values(4, 0);
>
>and i want to change the value of field1
>
>