Subject | Re: [firebird-support] Transactions |
---|---|
Author | Martijn Tonies |
Post date | 2005-11-18T17:17:56Z |
Hello Jean,
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
> Can I run a DDL statement inside a Transaction and rollback if someWell, this part works. You can rollback the DDL statement.
> Insert statements fail???This, however, won't.
>
> i.e.:
>
> SET AUTODDL OFF;
> Create table test (name varchar(10));
> Insert into test (name) values ('test');
> Rollback;
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