Posted by Oliver Saunders on 10/14/05 11:09
> create rule foo
> as on insert to foo
> where exists (
> select 1
> from foo
> where id = new.id
> )
> do instead
> update foo
> set data = new.data
> where id = new.id
> ;
wow that is a good database
can you do anything like that in MySQL?
[Back to original message]
|