dbTalk Databases Forums  

The best way to insert rows into multiple tables?

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss The best way to insert rows into multiple tables? in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christian Emery
 
Posts: n/a

Default The best way to insert rows into multiple tables? - 08-06-2004 , 04:04 PM






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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.