ExecuteDirect + DDL script
Posted: Thu 04 Feb 2010 13:41
Hello,
I have a DDL script which I have to execute to create my database, but when I'm trying to do this I have an exception:
"You have an error in your SQL syntax....."
I've noticed that when you are trying to execute two (or more) commands in one ExecuteDirect (for example, “drop database x; create database x”) it doesn’t work.
How can I execute DDL using dbExpress?
Thanks…
I have a DDL script which I have to execute to create my database, but when I'm trying to do this I have an exception:
"You have an error in your SQL syntax....."
I've noticed that when you are trying to execute two (or more) commands in one ExecuteDirect (for example, “drop database x; create database x”) it doesn’t work.
How can I execute DDL using dbExpress?
Thanks…