vba - SQL Server transactions and parameterized queries from Access 2007 (DAO? ADO?) -
i being forced port sql load script vba in access 2007 read flatfiles , insert sql server (using odbc , parameterized query strings). can post full example of how use either dao querydef or ado inserts executed in single transaction on sql server? not need linked tables, file read , transforms done in vba prior insert , done using stored procs , triggers in sql server after load. need able rollback multiple-inserts if there odbc error.
none of other stackoverflow posts i've found make sense me; know "odbcdirect workspaces" not supported in access 2007. using ado , begintrans make sense me?
Comments
Post a Comment