I keep getting an invalid object name error on my sql code. (member_number, subscriber_policy_number
) is underlined with the error message.
The code it
I faced case sensitivity problem. Below was my erroneous query
SELECT * FROM [bccci$Biochemical View] AS ibv
here "V"
- 1st character of last part of table name is Upper case but in actual table name it was lower case. that is [bccci$Biochemical view]
. So my correct code was
SELECT * FROM [bccci$Biochemical view] AS ibv
Try:
Edit -> IntelliSense -> Refresh Local Cache
Make sure you're using the correct database. It may be defaulting to the "Master" database, and it doesn't look like you have the full schema for the referenced table.
Ex: [DatabaseName].[Schema].[TableName]
or [Database1].[smmdmm].[aid_data]
Hope this helps.