Hi.


On Wed, Nov 28, 2001 at 09:42:08AM +0800, [EMAIL PROTECTED] wrote:
> How do you get output like below without retyping the command ("SELECT
> count(*) FROM config a INNER JOIN config b USING (gid) WHERE
> a.gid=10856")?

Well, I actually use copy&paste. ;-)

> I'm using Windows Me.
> 
> The following type of command does not work:
> 
> C:\mysql\bin>mysql --tee=\mysqluw\out.txt -T stud < \mysqluw\mysql.txt

Hm. That's probably what the last sentence of the interactive help is
referring to:
----------------------------------------------------------------------
  --tee=...     Append everything into outfile. See interactive help
                (\h) also. Does not work in batch mode.
----------------------------------------------------------------------

I don't see any work-around for this.

Bye,

        Benjamin.

[...]
> --------------------------------------------------------
> mysql> SELECT count(*) FROM config a INNER JOIN config b USING (gid)
> WHERE a.gid=10856;
> +----------+
> | count(*) |
> +----------+
> |        1 |
> +----------+
> 1 row in set (0.00 sec)
[...]

-- 
[EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to