|
Posted by Jeff North on October 28, 2005, 12:21 am
Please log in for more thread options
On Thu, 27 Oct 2005 17:08:30 +0200, in mailing.database.mysql "Markus
show/hide quoted text
>| I think that's not what the problem is. I guess, Jeff wants to get the
>| filename with the latest version.
Yep, sorry I didn't make myself clearer in my original post.
show/hide quoted text
>| There's some information missing to accomplish this, because MySQL can't
>| clearly identify the program out of the filename. Maybe there are solutions
>| with substring and locate to extract the program name, but this wouldn't be
>| a 100 % proof solution.
True, as not all entries will be suffixed with a number.
show/hide quoted text
>| I would recommand adding another table, where the program names are stored,
>| with a relation to this table. Then it's possible to join the two tables and
>| select for the maximum version number for each program.
I was hoping to avoid this type of setup :-(
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
|