If you are running a script from the command line, try

mysql -BNe "select 'some text to print'"



-----Original Message-----
From: Jesse [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 August 2006 2:39 a.m.
To: Wai-Sun Chia; Dan Buettner
Cc: MySQL List
Subject: Re: Outputting text in a


You still get two lines, it's just that one of the lines is blank, and the 
other says, "text to the screen".

Jesse
----- Original Message ----- 
From: "Wai-Sun Chia" <[EMAIL PROTECTED]>
To: "Dan Buettner" <[EMAIL PROTECTED]>
Cc: "Jesse" <[EMAIL PROTECTED]>; "MySQL List" <mysql@lists.mysql.com>
Sent: Thursday, August 24, 2006 2:14 AM
Subject: Re: Outputting text in a


> On 8/24/06, Dan Buettner <[EMAIL PROTECTED]> wrote:
>> Sure - in your sql script, put in
>> SELECT "text to the screen";
>
> Then you'll get 2 copies...
> Try this:
> SELECT "text to the screen" AS '';
> 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
The information contained in this email is privileged and confidential and
intended for the addressee only. If you are not the intended recipient, you
are asked to respect that confidentiality and not disclose, copy or make use
of its contents. If received in error you are asked to destroy this email
and contact the sender immediately. Your assistance is appreciated.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to