Pregunta

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

¿Fue útil?

Solución

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 ......

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top