Hi folks,
I am having great difficulty in try to create a Select query which will extract both alpha and numeric data from a Text field in a Parts database correctly.
I have two tables called "old" and "new" and I need to compare one specific field called "revision".
The data significance for "revision" needs to work in the ascending sort order A,B, n then 1,2,3 etc. i.e. 1 is later than A.
I want to select all records using
revision newtable > revision oldtable
but in the sorting hierachy it appears that alpha characters are always greater than numeric. This result is that any old revision numbers, which were previously alpha and have now changed to numeric, are not selected by the query.
Is there a better way to perform the inspection test?
thanks in advance
I am having great difficulty in try to create a Select query which will extract both alpha and numeric data from a Text field in a Parts database correctly.
I have two tables called "old" and "new" and I need to compare one specific field called "revision".
The data significance for "revision" needs to work in the ascending sort order A,B, n then 1,2,3 etc. i.e. 1 is later than A.
I want to select all records using
revision newtable > revision oldtable
but in the sorting hierachy it appears that alpha characters are always greater than numeric. This result is that any old revision numbers, which were previously alpha and have now changed to numeric, are not selected by the query.
Is there a better way to perform the inspection test?
thanks in advance