List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:July 27 1999 12:36pm
Subject:Get field detail contents?
View as plain text  
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       |
+----------------------------------------------------------------------+


Thread
Get field detail contents?Zhou Jianyu27 Jul
  • Get field detail contents?sinisa27 Jul