Hi @James Hackney ,
Welcome to Microsoft Q&A!
You could refer Andrei's example and check whether any is different or missing.
Besides, it could be recommended to post the DDL and sample data together with the error message.
You could confirm existance of a table using following query:
USE DATABASE_Name
SELECT OBJECT_ID('SDCS_AUDIT.BMA_FORM_DATA','U')
OR
SELECT OBJECT_ID('DATABASE_Name.SDCS_AUDIT.BMA_FORM_DATA','U')
If output is not NULL then your table already exists.
In addition,regarding the errror message 'invalid object name', you can make sure below points:
- Check you are connectiong to the correct database.
- In SSMS,go to Edit -> IntelliSense ->Refresh Local Cache or right click the database, and click "refresh".
- Check you have all permission on that table including view definition.
Best regards
Melissa
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.