Loading...
 
Development

Development


install sql in mods

posts: 23 United Kingdom

If I have a number of sql files to run as part of the install of my script, how can I get them run from the install, update or remove sql sections of the mods info.txt file?

I have tried SOURCE - but unfortunately, that returns an error regarding syntax - with syntax that was used with no problems on an interactive client.

I presume we are using an intermediate layer API, so does naybody know the restirctions that may be preventing me executing this, for example sticking to a sql ansi standard without mysql extensions? If so - is there a way around it, or an equivalent?

Thanks,
orionrobots

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.