Hi there,
I'm having trouble updating multiple tables: I want all of the SQL-commands to rollback whenever an error occurs with 1 of the SQL-commands, CF won't rollback although it should do so (according to the help). (working with CF 4.0, so no <cftransaction action="ROLLBACK"/> or any of that kind is used)
This is not a logical programming-error (thus I won't paste the script here)
I'm connecting to a SQL-server database, of which the standard is an autocommit(I think). If this is the fact, than I'm looking for a script to pass to sql-server via the query-tags.
something like this:
<cfquery name="q_mysql" datasource="mydatasource">
AutoCommit = FALSE
</cfquery>
If any of you can help me with this one, please post!
Thanks!
I'm having trouble updating multiple tables: I want all of the SQL-commands to rollback whenever an error occurs with 1 of the SQL-commands, CF won't rollback although it should do so (according to the help). (working with CF 4.0, so no <cftransaction action="ROLLBACK"/> or any of that kind is used)
This is not a logical programming-error (thus I won't paste the script here)
I'm connecting to a SQL-server database, of which the standard is an autocommit(I think). If this is the fact, than I'm looking for a script to pass to sql-server via the query-tags.
something like this:
<cfquery name="q_mysql" datasource="mydatasource">
AutoCommit = FALSE
</cfquery>
If any of you can help me with this one, please post!
Thanks!