MySQL Forums
Forum List  »  Newbie

How do I get back a "bare" result from a query
Posted by: Mike Burke
Date: August 18, 2005 09:25AM

I am trying to send a query to a MySQL database and get a result back with just the answer to the query and no other formating i.e. the column header or box around the answer.

This is what I am getting

mysql> select username from users where password = 1234;
+----------+
| username |
+----------+
| mike |
+----------+

This is what I want.
mysql> select username from users where password = 1234;
mike

Thanks for any help

Mike

Options: ReplyQuote


Subject
Written By
Posted
How do I get back a "bare" result from a query
August 18, 2005 09:25AM


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.