|
-
Oct 11th, 2001, 08:41 PM
#5
Junior Member
your table doesnt need to be in order. it will do a one to one match base on how you order it on your insert select statement.
what the where clause do is insert all those records from table2 to table1 for all same product_id.
if you use product_id as your primary key in table1 without duplicates, then you'll encounter a primary key constraints.. do the necessary trapping.
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
|