Re: How to echo sql stmts on mysql?
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 |
+---------------------+
Regards,
Josh
Josh Chamas
Director, Professional Services
MySQL Inc., www.mysql.com
Get More with MySQL!
http://www.mysql.com/consulting
Subject
Views
Written By
Posted
32697
October 19, 2004 08:35PM
Re: How to echo sql stmts on mysql?
11937
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.