B
Bunty Singh
I'm using Office Web Component for on the web page. Its works fine when I use
SP querying table directly as given below
create proc mySP
AS
SELECT * FROM myTable
GO
But if my SP uses temp tables as given below
create proc mySP
SELECT * INTO #Temp
FROM myTable
SELECT * FROM #Temp
GO
I get the error given below.
The query could not be processed:
o The data source you selected might be empty, might be linked with an
invalid link, or you may not have sufficient security permissions to access
the data.
Can someone help? Thanks in anticipation.
SP querying table directly as given below
create proc mySP
AS
SELECT * FROM myTable
GO
But if my SP uses temp tables as given below
create proc mySP
SELECT * INTO #Temp
FROM myTable
SELECT * FROM #Temp
GO
I get the error given below.
The query could not be processed:
o The data source you selected might be empty, might be linked with an
invalid link, or you may not have sufficient security permissions to access
the data.
Can someone help? Thanks in anticipation.