jharding08
Programmer
I am running an Export table function that reads an sql server connection then imports a table into access db connection. I have code that reads an access db and imports a table into another (different) access db. this is the code:
sSQL = "SELECT " & Columns & " INTO " & sTable & " FROM " & sTable & " IN '' [MS ACCESS;DATABASE=" & DatabaseFrom & ";TABLE=" & Table & "]"
oConn.Execute sSQL
I am trying to find out the syntax for importing from SQL Server.
Any ideas will be appreciated.
sSQL = "SELECT " & Columns & " INTO " & sTable & " FROM " & sTable & " IN '' [MS ACCESS;DATABASE=" & DatabaseFrom & ";TABLE=" & Table & "]"
oConn.Execute sSQL
I am trying to find out the syntax for importing from SQL Server.
Any ideas will be appreciated.