MySQL Forums
Forum List  »  Oracle

Re: How to echo sql stmts on mysql?
Posted by: Josh Chamas
Date: November 16, 2004 07:00PM

ummatix wrote:
> How to make the mysql command prompt display (i.e.
> echo) the sql statement that I just ran. For
> example, I ran the following at the mysql prompt:

Try running with -v, this is what I get:

$ ./mysql -v -e 'select now()';
select now()

| now() |
| 2004-11-16 17:00:11 |



Josh Chamas
Director, Professional Services
MySQL Inc.,
Get More with MySQL!

Options: ReplyQuote

Written By
October 19, 2004 08:35PM
Re: How to echo sql stmts on mysql?
November 16, 2004 07:00PM

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.