r/SQLServer • • May 11 '26

Question SQL Server join against linked server mapping to MS Access database works sometimes, sometimes crashes the SQL Server instance.

There is a legacy MS Access database that has a table needed for a query. Occasionally when accessing the table from SQL Server, the SQL Server instance just crashes. In other words, the SQL Server process is killed and noone can access sql server until it is restarted. Some of the information I have read say it is a known issue, and recommended using OPENQUERY as opposed to prefacing the database name with the linked server. That seems to work better, however even OPENQUERY crashes sql server sometimes. What seems to always best is if I manually in SQL Mgmt studio expand the linked server to display the tables. However we have an automatic process that needs to run without any manual intervention. Any suggestions for manual queries to 'prime' sql server so it does not crash when accessing that data?

3 Upvotes

34 comments sorted by

View all comments

Show parent comment

1

u/FranceRocks2 May 12 '26

Tiny. Probably 10 rows and we only need 4 columns of the table.

1

u/Northbank75 May 12 '26

It’s such a pathetic amount of static, unchanging data that not moving this into SQL Server is crazy. The 0.001 seconds it takes to query once imported vs the time and instability you are dealing with …..

Why is this even a debate? It’s a literal waste of time.

1

u/FranceRocks2 May 12 '26

It's not static data.