Home All Groups Group Topic Archive Search About

need help with insert into table from two other tables

Author
19 Sep 2006 9:49 PM
mchi55
I have a table with 3000 Client_id's.

I have another table with 56 different order types.  The order types
primary key is two fields (search_id, item_id)

I need to insert into another table each client_id, along with each
unique instance (56 instances) of search_id, item_id.

So the new table would have 3000 (client_id's) x 56 (distinct order
types) = 168000 rows.

What would be the easiest to go about this?

Thanks.

AddThis Social Bookmark Button