Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
paulnamroud
Starting Member
26 Posts |
Posted - 2012-08-03 : 10:27:53
|
Hello,I'm building an online catalog similar to the one of TigerDirect.ca. And somewhere there a dynamic filter price range that should be applied somehow and somewhere in my store procedure.I know I can build my filter price manually which is a traditional way. But i'm looking for a smart way in order to build a dynamic price range/filter in MS SQL Stored Procedure ?Please note that my table contains 40,000 Items.Can anyone help me ?Thank youPaul |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-08-03 : 10:31:28
|
WHERE pricefield BETWEEN @PriceStart and @PriceEndprovided you'll get boundary values as input from user------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|