At 17:47 16/04/2001 -0700, Sam Daniel wrote:
>I am interested in retrieving Field and Type information from a named 
>table.  Currently, MySQL allows me to see a table's description via
>
>mysql> describe TheTable;
>
>returning its structure in the form of a table, including the Fields and 
>Types columns.  I would like to retrieve the contents of these two 
>columns.  What is the SQL call that will do this?

You can use SHOW FIELDS FROM tableName;


>Sam Daniel
>Motorola
>480-441-7431
>
>---------------------------------------------------------------------
>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
>
>

Regards
John

-- 

MySQL Development Team
    __  ___     ____ __   __
   /  |/  /_ __/ __/ __ \/ /   John Dean <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\____/ Mansfield, England, UK
        <___/









---------------------------------------------------------------------
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