MySQL Forums
Forum List  »  Perl

How to get column names
Posted by: Tim Vantag
Date: June 19, 2007 04:29AM

Hi.

Which function/command would give me all column names of some table?

Example If I have table called person

ID | NAME | TELEPHONE |
 1 | John | 990-5428  |
 2 | Mike |  455-5465 |

I would like to get these results:

ID, NAME, TELEPHONE

Options: ReplyQuote


Subject
Written By
Posted
How to get column names
June 19, 2007 04:29AM
November 05, 2007 08:10PM
J H
July 07, 2008 06:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.