G
Guest
In a SQL Server database, I have the following stored procedure:
Code:
ALTER PROC Test_10
AS
CREATE TABLE ##Temp3
(
tblUsersID int
)
INSERT ##Temp3
SELECT tblUsersID
FROM tblUsers
SELECT * FROM ##Temp3
When run from the Query Analyzer, the Stored Procedure provides a result
list. When I run the Stored Procedure from the ADP, it consistently tells me
that no records were returned. I have tried using '#Temp3' for naming the
temp table.
I know this example would not require the use of a temp table, but in
theory, this example should work properly from inside an ADP. Anyone have any
idea why it is not returning any results?
Apart from this, I cannot seem to edit a Stored Procedure from inside an
ADP. When I save any changed, it tells me that "the parameter is incorrect".
Thanks for your help!!
Code:
ALTER PROC Test_10
AS
CREATE TABLE ##Temp3
(
tblUsersID int
)
INSERT ##Temp3
SELECT tblUsersID
FROM tblUsers
SELECT * FROM ##Temp3
When run from the Query Analyzer, the Stored Procedure provides a result
list. When I run the Stored Procedure from the ADP, it consistently tells me
that no records were returned. I have tried using '#Temp3' for naming the
temp table.
I know this example would not require the use of a temp table, but in
theory, this example should work properly from inside an ADP. Anyone have any
idea why it is not returning any results?
Apart from this, I cannot seem to edit a Stored Procedure from inside an
ADP. When I save any changed, it tells me that "the parameter is incorrect".
Thanks for your help!!