alimcpill
01-26-2006, 02:37 AM
I just can't figure this out:
I have an access application and a remote sql server. If I link to table on the server via odbc using a dsn I can do a simple
"SELECT [whatever] INTO [LocalAccessTable] FROM [LinkedSqlServerTable]"
to populate a local copy of the table. However, I often read that the OLEDB provider for sql server gives much better performance than odbc, but I can't work out how I can run a similar query to copy data from the server to a local access file using this sort of connectivity. I know I could achieve this by opening a recordset on the remote table and creating a load of sql insert statements, but it seems like a lot of overhead.
I guess what I really need to do is this:
"SELECT [whatever] INTO [LocalAccessTable] FROM [ConnectedViaAdoButNotActuallyLinkedSqlServerTable]"
Is this possible? :dunno
Hope that makes sense...
I have an access application and a remote sql server. If I link to table on the server via odbc using a dsn I can do a simple
"SELECT [whatever] INTO [LocalAccessTable] FROM [LinkedSqlServerTable]"
to populate a local copy of the table. However, I often read that the OLEDB provider for sql server gives much better performance than odbc, but I can't work out how I can run a similar query to copy data from the server to a local access file using this sort of connectivity. I know I could achieve this by opening a recordset on the remote table and creating a load of sql insert statements, but it seems like a lot of overhead.
I guess what I really need to do is this:
"SELECT [whatever] INTO [LocalAccessTable] FROM [ConnectedViaAdoButNotActuallyLinkedSqlServerTable]"
Is this possible? :dunno
Hope that makes sense...