By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,781 Members | 1,264 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,781 IT Pros & Developers. It's quick & easy.

Best way to Insert related records

P: n/a
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
Share this Question
Share on Google+
1 Reply

P: 1
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.