MySQL Forums
Forum List  »  MySQL Query Browser

Re: Can I format Query Output?
Posted by: Dan Yocum
Date: June 03, 2008 01:56PM

Ah, now I get what you mean by concat(). This works:

select concat('"',distinguished_name,'"') from user_dns;

or, to include that in a mysql statement from a shell prompt:

mysql -B -ss -e "select concat('\"',distinguished_name,'\"') from user_dns;"

Dan
yocum@fnal.gov

Options: ReplyQuote


Subject
Written By
Posted
Re: Can I format Query Output?
June 03, 2008 01:56PM


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.