Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm trying to post an ainto a fouto sequence number

Status
Not open for further replies.

JimmyP

Technical User
Aug 9, 2001
1
GB
I have created a sequence autonumber in SQL called
image_seq, which I am using as the primary key for
the 'order_id' field of a table 'cust_order'.
I have another table, 'product_order' which is linked
to the 'cust_order' table via the 'order_id' foreign key.
This foreign key needs the same value as the other
primary key!
How can I post the same autonumber into both at the same
time?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top