Re: batch sql SOURCE command

Paul DuBois <[email protected]> Wed, 2 May 2007 16:22:40 -0500
Newsgroups gmane.comp.db.mysql.perl
Message-ID <p0624081cc25eb170a187@[192.168.0.35]>
At 4:08 PM -0500 5/2/07, R P wrote:
>How can I execute the SOURCE command?  When I try I get a syntax error
>(from DBI, works on the commandline).
>
>http://dev.mysql.com/doc/refman/5.0/en/batch-commands.html
>
>I could just use a do() loop, but I think this would be better

It's a command implemented by the mysql client program, it's not a
SQL statement.  You'll need to implement it yourself.

-- 
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]