<br><br>On Monday, January 7, 2013, Michael Van Canneyt  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Mon, 7 Jan 2013, Ludo Brands wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 07/01/2013 16:01, Michael Van Canneyt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Mon, 7 Jan 2013, Krzysztof wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
2013/1/7 Michael Van Canneyt <<a>michael@freepascal.org</a>><br>
<br>
Maybe we should make a method for this in TSQLite3Connection ?<br>
<br>
<br>
It would be great. Because without this we can't use all opportunities of SQLite, like attaching databases or also VACUUM (trim and pack database)<br>
</blockquote>
<br>
I meant a method Procedure AttachDatabase(Const AFileName, AnAlias : String);<br>
?<br>
<br>
Other methods can also be added, of course.<br>
<br>
</blockquote>
A method to execute a statement outside a transaction would also be useful for the following reasons:<br>
</blockquote>
<br>
That will have to be database-specific.<br>
<br>
For example Firebird does not allow you to execute statements "outside a transaction".</blockquote><div>Yes it does, using execute immediate or execute block or something, iirc. Though yes, the execute block does need to run in some sort of transaction, but the action inside the block is committed regardless of any transaction rollbacks.</div>
<div>Useful for logging...<span></span></div>