May 7, 2010 at 8:57 am
No apology needed - you were very polite and not at all rude.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
May 13, 2010 at 7:37 pm
Kari -
Your using the expression to build the statement helped me with a problem I was having (http://www.sqlservercentral.com/Forums/Topic921028-148-1.aspx#bm921153). I've bypassed the parameter mapping tab all together and building the SQL in the expression, building the EXEC with the variable values.
Yay.
July 21, 2010 at 9:20 pm
can you please explain me ,how did you solve that pblm?
because, rightnow iam facing same problem.
July 21, 2010 at 11:35 pm
[p]Hi srichaitya,
what error you are getting? what is your scenario? [/p]
KSB
-----------------------------
Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha
July 22, 2010 at 7:48 am
the following error is getting :
[Execute SQL Task] Error: Executing the query "dbo.sp_capture" failed with the following error: "Invalid object name 'dbo.capture_Tracking'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
even iam passing foe the storedprocedure with ado.net connection and passing 2parameters and used parameter mapping as a input.
so ,when i execute the task.getting the above error
July 22, 2010 at 8:11 am
[p]What I understood is, You are passing 2 parameters to a stored procedure using parameter mapping.[/p][p]First check whether the table "dbo.capture_Tracking" is available or not. I suspect this table.[/p][p]Instead of passing parameters by using parameter mapping tab, you can use Expressions tab. For that you need to define two variable in Variables window using appropriate data type. Then open Expression Builder in Expressions tab build query just like @[User::sp] + @[User::source] +", "+ @[User::status]
and run.[/p]
KSB
-----------------------------
Thousands of candles can be lit from a single candle, and the life of the candle will not be shortened. Knowledge and happiness never decreases by being shared.” - Buddha
Viewing 6 posts - 16 through 20 (of 20 total)
You must be logged in to reply to this topic. Login to reply