Fethiye Akbulut ([EMAIL PROTECTED]) writes:

> I would like to see if all the tables in my database have the "comment" 
> field equal to a given value. I understand that "show table status" command 
> is able to show us the "comment" field's value. I was wondering how we can 
> extract only this field when we do conduct our queries from a mysql client 
> or a program written in tcl/tk and/or perl?

If you play with it a little, you'll find that running "show columns from table" 
returns a recordset, just like a select statement, and you can search for your 
comments that way.  Very convenient :)

--
Ed Carp, N7EKG          [EMAIL PROTECTED]           940/367-2744 cell phone
http://www.pobox.com/~erc               [EMAIL PROTECTED] - text pager

I sometimes wonder if the American people deserve to be free - they seem
so unwilling to fight to preserve the few freedoms they have left.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to