That is what i did...
Regards,
Aasmund
On Sat, 20 Oct 2001 23:34:44 -0400 (EDT), Joel Burton <joel@joelburton.com> wrote:
> On Sun, 21 Oct 2001, Aasmund Midttun Godal wrote:
>
>
>
> Aasmund --
>
> If your problem is that you want to update VIEWs and aren't sure what the
> PK for the view is, could you follow a standard like this:
>
> CREATE TABLE person (social_security CHAR(9), full_name TEXT);
>
> CREATE VIEW pers_view AS select social_security AS primkey,
> social_security,
> full_name);
>
> and know that you can always find the "primkey" field in the view as one
> to use in where clauses for updates?
>
> HTH,
> --
>
> Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
> Independent Knowledge Management Consultant
>
Aasmund Midttun Godal
aasmund@godal.com - http://www.godal.com/
+47 40 45 20 46