Zhou Jianyu writes:
> I 'm using C API to query a mysql database ,I want to find out the
> detaile field content in a table.for example,the table
>
> table
> anaimals
> FIELD TYPE NULL Key Deault
> Type char(20)..
> Name char(30)..
> ..
> ..
> I want to get detail contents like "Birds" from the field type,I don't
> know use which function to get it ,mysql_fetch_field?or others,I can
> 't find it out in mysql.h.
>
> Regards
> Zhou J.Y.
>
>
Hi!
Pray, how can you get detailed contents from the table description ??
Or would you like to get contents of the table. Then, instead of
DESCRIBE, please run a SELECT statement.
Sinisa
+----------------------------------------------------------------------+
| TcX ____ __ _____ _____ ___ == mysql@stripped |
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sinisa@stripped|
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaka, Cyprus |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+----------------------------------------------------------------------+