That is what i did...

Regards,

Aasmund

On Sat, 20 Oct 2001 23:34:44 -0400 (EDT), Joel Burton <[EMAIL PROTECTED]> 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  |  [EMAIL PROTECTED]  |  joelburton.com  |  aim: wjoelburton
> Independent Knowledge Management Consultant
> 

Aasmund Midttun Godal

[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to