"Robert Morgan" <[EMAIL PROTECTED]> wrote: > > Hi, I'm populating a dropdown with table names so the user can then choose the table > he/she wishes to > edit. However I just want to show the lookup tables. I tried "show tables from DB > where table like 'lkp' ;" > but got an error; I'm just wondering whether it can be done using show tables or > whether I should use > something else. >
SHOW TABLES FROM db_name LIKE 'lkp' SHOW syntax is described at: http://www.mysql.com/doc/en/SHOW.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]