This is my first time working on a database project, and I'm using Visual Studio 2013.
I simply followed the instruction on Microsoft to create a database project as listed below:
- Create a new database project
- Clicked
Import
-->Database
and successfully imported tables - Clicked
Add
-->Stored Procedure...
However I keep getting this Invalid object name 'TABLENAME'.
message for any tables I've imported.
I've tried Use DATABASE_NAME;
but it did not help.
Also I've read about refreshing IntelliSense but I do not get the refresh option in VS2013. Plus, it's not just the IntelliSense because I still get the same error when I manually type in the table name.
Even if I create a stored procedure directly in SSMS and then try to run it, I still get the same Invalid object name
error.
Any help is appreciated very much.