I use sql server 2014.

I have a table in my ManuDB database called (waqf).

I am trying to update the table but not allowed and a message (invalid object name waqf) appears.

I don't know what is the reason although I have a table called waqf.

image

有帮助吗?

解决方案

Because you are executing the statement in Master Database as shown in the snip shot.

enter image description here

select the correct database from drop down list shown in picture or execute the following statement.

USE ManuDB 
GO

UPDATE ......

其他提示

From the drop down list of database; set it to ManuDB.

At the moment, it's pointing to Master which doesn't have your table.

Type USE <yourdatabasename> before your update statement

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top