Hi Baron,
This will give only the results of the command. It does not include sql
statement.
I need the sql statement to know which sql errored out.

Database changed
+----------+
| count(*) |
+----------+
|        5 |
+----------+
1 row in set (0.00 sec)



On 5/21/07, Baron Schwartz <[EMAIL PROTECTED]> wrote:

Hi,

Ananda Kumar wrote:
> Hi All,
> I am executing a script from  mysql prompt as below
>
> mysql > source ddl.txt
>
> I want to spool the out put of the above command to a file along with
the
> sql statments. Can you please let me know what parameter should i set
for
> the this.

Use the 'tee' command in the mysql client.  Press ? in the client and it
will give you
instructions.

Baron

Reply via email to