MySQL Forums
Forum List  »  Newbie

Re: How can I return column-name?
Posted by: Roland Bouman
Date: July 21, 2005 05:12AM

Use the information schema:


select column_name
from information_schema.columns
where table_schema = 'name of your database'
and table_name = 'name of you table'

see http://www.mysqldevelopment.com

Options: ReplyQuote


Subject
Written By
Posted
Re: How can I return column-name?
July 21, 2005 05:12AM


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.