문제

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