سؤال

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