Here are the steps to understand what happened (I am using Microsoft SQL Server Management Studio 2017):
- I imported an Excel file as a table
- I renamed my table to
dbo.export - To test, I created a new query and simply wrote the statement
SELECT * FROM dbo.export- it runs fine - I save my query
- I close SSMS
- I reopen SSMS and open my query
- When I try to execute my query now, it gives me the error:
Msg 208, Level 16, State 1, Line 1. Invalid object name 'dbo.export'
I made no changes to anything. My code now suddenly doesn't work. Is SQL Server somehow changing the object type of my table? I really have no idea what's the issue since I changed absolutely nothing.

