I need to get a list of ranges for comparison as a single list.So from a table with the following data:STARTRANGE ENDRANGE350 352355 355359 360
I'd like to end up with a resultset containingRANGELIST350,351,352,355,359,360
I know I can probably do it using a cursor, but I'd kind of like to avoid using one if possible. I also need to use that result set as a value for comparison in another table.It's a list of zip codes in another table.. and I need to determine if the zip code falls in the specified ranges.So 35099 would fall in the rangeBut 35399 would not.Any help would be greatly appreciated!Thanks!