![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have two questions that I have no idea how it works. 1. I created a stored procedure that returns a value after execution e.g. Create Procedure try @output nvarchar(50) output as .... return how am i able to get the output value from the stored procedure using DTS, I do it in Execute SQL Task or ??? 2. How am i able to fire a stored procedure using Active X Script Thanks Ed |
#3
| |||
| |||
|
|
Hi, I have two questions that I have no idea how it works. 1. I created a stored procedure that returns a value after execution e.g. Create Procedure try @output nvarchar(50) output as .... return how am i able to get the output value from the stored procedure using DTS, I do it in Execute SQL Task or ??? 2. How am i able to fire a stored procedure using Active X Script Thanks Ed |
#4
| |||
| |||
|
|
First of all, thanks for your answer... The main problem i have is in Execute SQL Task, i put something like Declare @output nvarchar(10) Exec ProcedureName @output output it failed, and i don't know how to put that output parameter into a Global Variable, that's why I asked if it should be done in Active X Script... If it has to be done in Active X Script, the code is like dim cmd as new adodb.command set cmd.activeconnection = xxx cmd.commandtext = xxx ... ... right? Thanks again. Ed "Ed" wrote: Hi, I have two questions that I have no idea how it works. 1. I created a stored procedure that returns a value after execution e.g. Create Procedure try @output nvarchar(50) output as .... return how am i able to get the output value from the stored procedure using DTS, I do it in Execute SQL Task or ??? 2. How am i able to fire a stored procedure using Active X Script Thanks Ed |
![]() |
| Thread Tools | |
| Display Modes | |
| |