|
-
Aug 3rd, 2000, 05:34 AM
#1
Thread Starter
Lively Member
When I insert into table A a foreign key is referenced.
The problem is that I need to insert into 2 tables at the same time, ie the original table and the table where the key is referenced.
I've thought about joining the tables and then using insert but i can't find any documentation on how to do this.
 VB6 Enterprise sp5, SQL Server2000 
-
Aug 3rd, 2000, 08:37 AM
#2
I would do two separate INSERTs, first to the "one"-side table, then to the "many"-side table.
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|