Sql Management Studio won't recognize a table exists after scripted create
If a newly created table isn't showing up, it might be an IntelliSense issue. Prompt it to catch up like so:
Or ask SQL Server to update module information:
Make sure you're in your desired database context. Verify in the toolbar dropdown or use:
Check your default schema. The table might 'hide' under a different schema than the expected one.
Checking your environment
Verifying table creation
If refreshing IntelliSense doesn't fix your issue, let's see if the table was actually created:
Zero results mean the table does not exist in the current database.
Checking schema
To confirm the schema of your table, pour through the library of information using:
Ensuring database context
To avoid having a Face/DB moment, verify you're in the correct database context:
Troubleshooting
Rejuvenate your IntelliSense
If problems persist, give IntelliSense a new lease on life:
Again, via our magic shortcut:
Reconnect with your SQL Server
If your table still doesn't appear, try reaching out to SQL Server again:
Check access rights
If all else fails, look into permissions. You may not have access rights to the table or database:
Restart Management Studio
Your table might be hiding in the darkest corners of Management Studio. To banish the shadows:
Was this article helpful?