bgreenhouse
Technical User
Hi Folks
I've read a bit about MTS - but I'm not sure it applies to what I want to do. I simply want to be able to commit, begin and rollback SQL transactions (on an access database) from an ASP page. So I've tried what seems obvious - passing it as I would any other SQL statement...
and
but it doesn't like that, giving me
Any suggestions? Anything obvious?
Thanks,
Ben
I've read a bit about MTS - but I'm not sure it applies to what I want to do. I simply want to be able to commit, begin and rollback SQL transactions (on an access database) from an ASP page. So I've tried what seems obvious - passing it as I would any other SQL statement...
Code:
dbObj.execute "BEGIN TRANSACTION"
and
Code:
dbObj.execute "END TRANSACTION"
but it doesn't like that, giving me
Code:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.
Any suggestions? Anything obvious?
Thanks,
Ben