| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Jørn Dahl-Stamnes | Date: | April 1 2009 2:19pm |
| Subject: | Include SQL files | ||
| View as plain text | |||
Hello,
After googling for an hour I gave up to find a solution.
Problem: A framework is creating a lot of SQL files that will create the
database. But I'm tired of doing 10-20-30 'mysql -u... < file<n>.sql' each
time I rebuild the model.
What I want to do is to create a sql file like:
use foobar;
include some/dir/file1.sql
include some/dir/file2.sql
...
and so on.
Is it possible?
--
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/
| Thread | ||
|---|---|---|
| • Include SQL files | Jørn Dahl-Stamnes | 1 Apr |
| • Re: Include SQL files | Michael Dykman | 1 Apr |
| • Re: Include SQL files | Eugene Kosov | 1 Apr |
| • Re: Include SQL files | Jørn Dahl-Stamnes | 1 Apr |
