My SQL plugin and #FILESCRIPT#

Got a problem you cannot solve? Try here.
Post Reply
djoulez
Posts: 1
Joined: Mon Jun 11, 2007 5:51 am

My SQL plugin and #FILESCRIPT#

Post 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 !
Post Reply