Subject Re: [firebird-support] Transactions
Author Martijn Tonies
Hello Jean,

> Can I run a DDL statement inside a Transaction and rollback if some

Well, this part works. You can rollback the DDL statement.

> Insert statements fail???
>
> i.e.:
>
> SET AUTODDL OFF;
> Create table test (name varchar(10));
> Insert into test (name) values ('test');
> Rollback;

This, however, won't.

Any DML statement needs the objects it uses to be committed.

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com