I need to run some math based on end user input, but for their sake we have added units of measurement to the available options for input into the table being queried. So I have a column that is populated with 6" or 1 ft and I only need the actual number to proceed with my equation. Is there a way to filter out the non-integer portions of my selection?
ended up using this
REVERSE(SUBSTRING(REVERSE(COLUMNNAME),2,4))
So it took 16" changed it to "61 selected the 61 then reversed back. my column won't ever be above 100 and the UOM will be the same, so if it were to be for ft, i would just modify it for that.