F
Fredrik Melin
I want to allow my users to enter filter's on a SQL sentence for a numeric
field.
I would like to allow them to write for sample "0-10, 101" which should give
all from 0-10 and 101, in other words allow - for range and , to separate
several numbers.
Is there a built in function to decode this into a number sequence that I
can use in a IN SQL statement?
Or is that something I need to write my self?
The output I would like is from the sample above 0,1,2,3,4,5,6,7,8,9,10,101
- Fredrik
field.
I would like to allow them to write for sample "0-10, 101" which should give
all from 0-10 and 101, in other words allow - for range and , to separate
several numbers.
Is there a built in function to decode this into a number sequence that I
can use in a IN SQL statement?
Or is that something I need to write my self?
The output I would like is from the sample above 0,1,2,3,4,5,6,7,8,9,10,101
- Fredrik
because it might be misunderstood. Of