I have a table that stores the versions of software installed on a client. I need to return the highest version value. MAX(versionValue) does not return the highest value because the value is in the format like 2.3.0.99. If the highest value is 2.3.0.122 MAX returns 2.3.0.99 as the highest value, which is not true. I’m sure this is pretty trivial, I’ve just hit the wall and Google is no help right now. Any insight would be appreciated.
Share
Thanks everyone. I ended up creating a UDF in CLR. The DB is associated with a 3rd Party Product and so reconstructing the schema was not an option.