I tried searching with no luck.
I would like to sort a table based on 3 numeric fields with values like:
Col1 | Col2 | Col3
-------------------
.75 | 103 | 299.5
To create an index on these three fields so that they are sorted ascending, do I have to convert them all to strings and concatenate? It seems like there should be a more elegant solution. Is there?
E.g., STR(thk,6,4) + STR(length,6,2) + STR(width,6,2)
-- Thanks Mike
I would like to sort a table based on 3 numeric fields with values like:
Col1 | Col2 | Col3
-------------------
.75 | 103 | 299.5
To create an index on these three fields so that they are sorted ascending, do I have to convert them all to strings and concatenate? It seems like there should be a more elegant solution. Is there?
E.g., STR(thk,6,4) + STR(length,6,2) + STR(width,6,2)
-- Thanks Mike