Forum Moderators: coopster & phranque

Message Too Old, No Replies

List all entries that start with 'A'

         

globay

8:59 pm on May 1, 2003 (gmt 0)

10+ Year Member




How do I list all entries from a database, that start with a special letter?

jpjones

9:10 pm on May 1, 2003 (gmt 0)

10+ Year Member



Try:
SELECT * from TblName where FieldName Like "A%";

You might have to change the "A%" to "A*" depending on your SQL engine.

Also see:
http://www.webmasterworld.com/forum47/381.htm [webmasterworld.com] for further info relating to your question.

HTH,
JP

globay

9:17 pm on May 1, 2003 (gmt 0)

10+ Year Member



Thanks a lot,

works perfectly!