470,581 Members | 2,427 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,581 developers. It's quick & easy.

Best way to Insert related records

Hello,
I have 2 tables tab_1, tab_2
records in tab_1 are related to records in tab_2

i write records to both tables i one step.

e.g. i write record do rec_2 tab_2 , this record have identifier (serial) ,
next i write record (rec_1) to tab_1 which is related to rec_2.
How can i take identifier from rec_2 and write it to rec_1

someone can me help?

Vailor
Jul 19 '05 #1
1 1828
Hello,
I have 2 tables tab_1, tab_2
records in tab_1 are related to records in tab_2

i write records to both tables i one step.

e.g. i write record do rec_2 tab_2 , this record have identifier (serial) ,
next i write record (rec_1) to tab_1 which is related to rec_2.
How can i take identifier from rec_2 and write it to rec_1

someone can me help?

Vailor
I don't have the slightest idea of what you're speaking, i just wanted to contact you because you and i share the same last name. It is a very rare name, and I believe that you and I are in some way related. I am from washington, d.c., and I don't know much about my ancestors. All I know is that I typed my last name in www.google.com, and all these different names started popping up. I've contacted everybody with the same last name, including yourself. Don't worry, I'm not crazy, I just need to find myself, and in order to do that, I have to find out more about my last name.

Crystal Vailor
AKA
thelastvailor :)
Mar 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by EricRobineau | last post: by
2 posts views Thread by Tom Gao | last post: by
10 posts views Thread by jaYPee | last post: by
7 posts views Thread by GJPeacock | last post: by
reply views Thread by David | last post: by
2 posts views Thread by David | last post: by
1 post views Thread by Muchach | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.