batch sql SOURCE command

batch sql SOURCE command

am 02.05.2007 23:08:47 von R P

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

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: batch sql SOURCE command

am 02.05.2007 23:22:40 von Paul DuBois

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/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org