RE: Execute multiple scripts

2001-07-13 Thread Don Read
On 13-Jul-01 Järkeborn Joacim wrote: > Hi, > > I have approx. 110 SQL scripts in a directory. Each containing DROP TABLE, > CREATE TABLE, lots of INSERT INTO and finally a COMMIT. > I need to run all these script in mysql console. > > My plan is to write a perl script that looks into the direct

RE: Execute multiple scripts

2001-07-12 Thread Jorge del Conde
Mr. Jorge del Conde <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer /_/ /_/\_, /___/\___\_\___/ Mexico City, Mexico <___/ www.mysql.com -Original Message- From: Järkeborn Joacim [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 1:40 AM

Execute multiple scripts

2001-07-12 Thread Järkeborn Joacim
Hi, I have approx. 110 SQL scripts in a directory. Each containing DROP TABLE, CREATE TABLE, lots of INSERT INTO and finally a COMMIT. I need to run all these script in mysql console. My plan is to write a perl script that looks into the directory and fetch all *.sql scripts and then execute t