dusanv
Programmer
- May 29, 2002
- 20
- 0
- 0
Hello,
I tried to follow a workaround from some book for executing sp's from a view and created a linked server entry called LOOPBACK on my server that refers back to itself. Then I tried to create a view that has this statement:
SELECT * FROM OPENQUERY(LOOPBACK,'EXEC dbo.sp_test')
However, I am getting an error that dbo.sp_test stored procedure cannot be found even though it does exists in the database. Any insight on this -- thanks.
I tried to follow a workaround from some book for executing sp's from a view and created a linked server entry called LOOPBACK on my server that refers back to itself. Then I tried to create a view that has this statement:
SELECT * FROM OPENQUERY(LOOPBACK,'EXEC dbo.sp_test')
However, I am getting an error that dbo.sp_test stored procedure cannot be found even though it does exists in the database. Any insight on this -- thanks.