in reply to Re^2: database sorter script
in thread database sorter script
My advice is to convert your flat text file database into a real database so that you can use "LIKE" in your SELECT, something like this (as someone else already pointed out):
Actually, if your flat file database is CSV (Comma Separated Value) or similar, you might be able to use Perl's DBI and DBD::CSV modules to do what you want, and you might be able to use a SELECT similar to the one above that uses the "LIKE", but I'm just speculating ;-)SELECT * FROM your_table WHERE author_last_name LIKE 'A%'
HTH.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: database sorter script
by santander (Acolyte) on Dec 06, 2004 at 13:30 UTC | |
by hmerrill (Friar) on Dec 06, 2004 at 14:12 UTC | |
by santander (Acolyte) on Dec 06, 2004 at 16:03 UTC |