Using SQL Server view in Microsoft Query

97 views Asked by At

I have a view in SQL Server named item_movement, now I want to query using Microsoft Query in Excel:

select * from item_movement

But I'm getting this error - why? Is it possible to use Microsoft Query for querying views?

enter image description here

1

There are 1 answers

1
Lightsout On

Found out the issue had to use the keyword

use mydbname before query