MySQL Forums
Forum List  »  Newbie

How can I return column-name?
Posted by: James Dudley
Date: July 20, 2005 12:45AM

I'm using MySQL. I'd like a query along the lines of:

SELECT * from table_name


that returns the following:

field1_name, field1_value, field2_name, field2_value, ...

How can I do this?

Options: ReplyQuote


Subject
Written By
Posted
How can I return column-name?
July 20, 2005 12:45AM


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.