I have a list which has an Item and Quantity pairs.
So it looks like this Item1:Quantity1,Item2:Quantity2....
11000:45,234000:21,34500:21.
Also I have a table with say two columns. ItemNum and Qauntity. I already have the item numbers inserted in this table. So 11000, 234000, 34500 are already in the table. Now I need to update the Quantity and maintain the data integrity. So I am tryin to join over the itemNum and I could do that if I create a temp table in CF. Query of queries is NOT a solution because as far as i know it doesnt support JOINS.
Also I dont wanna make multiple updates or inserts in a loop, coz I could have a list with a 10,000 items and quatities and that would mean 10,000 calls to the server. Also a join will assure that the right quantity is associated with the right itemNUM
Is there a way to create a temp table in coldfusion that I can do JOINS on ? Query of Queries in CF doesn't support inner or outer joins, so it quite pointless converting this list into a query object in CF. Any help will be greatly appreciated.
So it looks like this Item1:Quantity1,Item2:Quantity2....
11000:45,234000:21,34500:21.
Also I have a table with say two columns. ItemNum and Qauntity. I already have the item numbers inserted in this table. So 11000, 234000, 34500 are already in the table. Now I need to update the Quantity and maintain the data integrity. So I am tryin to join over the itemNum and I could do that if I create a temp table in CF. Query of queries is NOT a solution because as far as i know it doesnt support JOINS.
Also I dont wanna make multiple updates or inserts in a loop, coz I could have a list with a 10,000 items and quatities and that would mean 10,000 calls to the server. Also a join will assure that the right quantity is associated with the right itemNUM
Is there a way to create a temp table in coldfusion that I can do JOINS on ? Query of Queries in CF doesn't support inner or outer joins, so it quite pointless converting this list into a query object in CF. Any help will be greatly appreciated.