rick wrote: >I know how to make a whole batch SQL script silent (-s option of mysql), but is there >a way within a script to make one or more individual statements silent? In Oracle >PL/SQL, it can be done using echo on/off and termout on/off. > > Just for testing, I created a script "noecho.sh": #!/bin/sh exec cat "$1" > /dev/null
Then I did "pager noecho.sh" and it stopped responding ... but it still says "100 rows in set ..." and so forth. YMMV. ... oh, and SQL. -- Michael T. Babcock C.T.O., FibreSpeed Ltd. http://www.fibrespeed.net/~mbabcock --------------------------------------------------------------------- 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