I am building a C# project that transfers data from an Access database to an SQL database. I am using this command:
sqlMergeDB = "Insert int work.sql_merged_database.dbo." + tablename[a] +
"SELECT * FROM acs_merged_database.mdb." + tablename[a];
It keeps saying it doesn't recognize the Access table object and I am a thousand percent sure the table name is correct and there is a connection to the database. Maybe I don't know a certain syntax for listing Access data objects.
More specifically the error is invalid object name.