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

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -