Hi
I have a problem with MS SQL stored procedure if anyone can suggest ideas.
Using the CALL [?=] format I can't get my procedure to return multiple output rows from a query. It will work with the EXEC option but then I can't specify other return codes.
I've tried with/without the ?= option and with/without output variables - ? in command
Is this something that 6.7.1 does not support with the call option?
Am i possibly writing my SP incorrectly - simple version below
CREATE PROCEDURE SDS269
@I_CompanyProfile VARCHAR(100)
AS
BEGIN
SELECT TRAN_LOG_TIMESTAMP, TRAN_LOG_MESSAGE
FROM X_TRANSACTION_LOG_SUMMARY
WHERE TRAN_LOG_PARTNER_ID =@I_CompanyProfile
return
end
GO
any suggestions welcome
tim
I have a problem with MS SQL stored procedure if anyone can suggest ideas.
Using the CALL [?=] format I can't get my procedure to return multiple output rows from a query. It will work with the EXEC option but then I can't specify other return codes.
I've tried with/without the ?= option and with/without output variables - ? in command
Is this something that 6.7.1 does not support with the call option?
Am i possibly writing my SP incorrectly - simple version below
CREATE PROCEDURE SDS269
@I_CompanyProfile VARCHAR(100)
AS
BEGIN
SELECT TRAN_LOG_TIMESTAMP, TRAN_LOG_MESSAGE
FROM X_TRANSACTION_LOG_SUMMARY
WHERE TRAN_LOG_PARTNER_ID =@I_CompanyProfile
return
end
GO
any suggestions welcome
tim