Have you tried writing the script using the source command?
drop database;
create database;
source populate_db;
....

-----Original Message-----
From: Andre MATOS
To: [EMAIL PROTECTED]
Sent: 7/8/04 12:20 PM
Subject: Scripts

Hi List,

Let's suppose that I have a script to create one database (tables, 
indexes, etc).

How can I call another script from this script? For example:

DROP DATABASE test;
CREATE DATABASE test;

(here call another script)

back to the previous script



Thanks.

Andre

-- 
Andre Matos
[EMAIL PROTECTED]



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

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

Reply via email to