using labkey SQL to calculate next ID in a series | trent | 2011-06-21 16:48 |
Status: Closed | ||
Another technique I've seen to remove alpha characters; translate(val,translate(val, '1234567890',''),'') where val is the column containing the data. So, select max(translate(val,translate(val, '1234567890',''),'')) as MAX_ID from table Ta, Trent |
||