MySQL Forums
Forum List  »  General

Re: remove pre and trailing '|' on mysql output
Posted by: Jonathan Stephens
Date: April 11, 2014 06:38AM

Hi John,

The tabular display you see in the mysql client is merely formatting for convenience. It is not part of the result set.

If you're doing this as part of a Web page using a language such as PHP or Perl to access MySQL, there's no need, as *only* the column values are actually returned in this case.

cheers,
jon.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: remove pre and trailing '|' on mysql output
April 11, 2014 06:38AM


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.