The best way to insert rows into multiple tables?

From: Christian Emery <cpemery(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: The best way to insert rows into multiple tables?
Date: 2004-08-06 21:04:39
Message-ID: 20040806210439.32776.qmail@web52201.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I can't seem to create a trigger and function
correctly to get it done....

I am trying to create the backend to a web-based
checklist that will insert the data into a db. Once
the chklst_header table is created, I want to create
the child tables with the same currval in the
sequence, preferably on insert into the header table.

Any ideas or examples are greatly appreciated!!!!!

Once I get this all figured out, I would be more than
happy to share the end result of my little project and
the source for others as well.

Thanks.
christian
cpemery [at] YahOO (dot) CoM


__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

Browse pgsql-novice by date

  From Date Subject
Next Message mike g 2004-08-07 02:02:24 Re: Newbie Instal Problem
Previous Message Max Chu 2004-08-06 20:31:42 take endless time to MAKE on RH Linux 9