Code: Select all
ExecuteStoreCommand(CreateDatabaseScript())
I noticed the ORA-00922 error is raised if no delimiter is used between single statements in the script. A script generated by CreateDatabaseScript() uses slashes (/) as delimiters, however (but not after the last statement). That delimiters are probably removed when executing the script using ExecuteStoreCommand().
This issue may also be related: http://forums.devart.com/viewtopic.php?f=1&t=29232