Associate
- Joined
- 27 Jan 2005
- Posts
- 1,373
- Location
- S. Yorks
I need to query a large database to return pricelist information, there could be upto three pricelists, each pricelist contains approx 1500 to 2000 items, some items are unique to each pricelist but majority are not.
When the upto three pricelists information is returned I need to:
* Populate a dropdown with a unique list of products from the three pricelists.
* When a product is selected from the dropdown I need to return from the pricelist related information such as price, this needs to come from the first list that holds the product e.g. product t could be on pricelist two and three but I just need to return the price from pricelist two.
* During the quotation process the pricelist order can change, so pricelist three can become 1 or 2.
My question is what is the best way to store this information to do the above or do I just run it as separate queries all the time, there could be upto 150 users simultaneously using this so performance is paramount.
Also any advice on the above would be appreciated.
Matt
When the upto three pricelists information is returned I need to:
* Populate a dropdown with a unique list of products from the three pricelists.
* When a product is selected from the dropdown I need to return from the pricelist related information such as price, this needs to come from the first list that holds the product e.g. product t could be on pricelist two and three but I just need to return the price from pricelist two.
* During the quotation process the pricelist order can change, so pricelist three can become 1 or 2.
My question is what is the best way to store this information to do the above or do I just run it as separate queries all the time, there could be upto 150 users simultaneously using this so performance is paramount.
Also any advice on the above would be appreciated.
Matt