Page 1 of 1

My SQL plugin and #FILESCRIPT#

Posted: Tue Jun 12, 2007 4:32 am
by djoulez
Hi,

Is it possible to use variable in a sql script with MY SQL plugin and #FILESCRIPT# ?

Here is an example of what I need to do in my .sql script:

CREATE DATABASE `$DBNAME$` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE $DBNAME$;

With $DBNAME$ set dynamically through a dialog.

Since the whole script is very long I cannot load it statically because that makes the application hang.

Any Idea ?


Thanks !