Hello,
I need to run several updating queries in sequel on a database and a good candidate for this should be a simple .bxs script. But is there a convenient way to reference functions defined in an external module? I have all functions defined in an external XQuery module and I would like to be able to write the script in such a way, that I use just the names of the allready defined functions. E.g something like this:
# script.bxs # open the database OPEN testdb; # make backup of the initial state CREATE BACKUP init; # run all updating queries XQUERY updateFunctionA(); XQUERY updateFunctionB(); # etc ... # make a backup of the final state CREATE BACKUP final;
I guess I can recap my question with just the following: what would be the most convenient way for me to organize this kind of automation of running allready defined module functions?
Thank you, Kristian K