how should you configure the parameter?

DRAG DROP
You are developing a SQL Server Integration Services (SSIS) package that downloads data
from a Windows Azure SQL Database database.
A stored procedure will be called in an Execute SQL task by using an ODBC connection.
This stored procedure has only the @CustomerID parameter of type INT.
A project parameter named CustID will be mapped to the stored procedure parameter
@CustomerID.
You need to ensure that the value of the CustID parameter is passed to the @CustomerID
stored procedure parameter.
In the Parameter Mapping tab of the Execute SQL task editor, how should you configure the
parameter? (To answer, drag the appropriate option or options to the correct location or
locations in the answer area.)

DRAG DROP
You are developing a SQL Server Integration Services (SSIS) package that downloads data
from a Windows Azure SQL Database database.
A stored procedure will be called in an Execute SQL task by using an ODBC connection.
This stored procedure has only the @CustomerID parameter of type INT.
A project parameter named CustID will be mapped to the stored procedure parameter
@CustomerID.
You need to ensure that the value of the CustID parameter is passed to the @CustomerID
stored procedure parameter.
In the Parameter Mapping tab of the Execute SQL task editor, how should you configure the
parameter? (To answer, drag the appropriate option or options to the correct location or
locations in the answer area.)

Answer:



Leave a Reply 9

Your email address will not be published. Required fields are marked *


Jane

Jane

Parameter Name should be @CustomerID

Dave

Dave

No, ODBC doesn’t support parameter name.
But, why 1 and not 0?

Dave

Dave

Uhm, maybe ODBC support parameters name xD

Dave

Dave

I tried just now, ParameterName must be 1.
0 or the name of the parameter in the stored procedure doesn’t work.
The answer is right

Jai

Jai

Is it $project::custid or user::custid?. i think it should be user::custid

sqlninja

sqlninja

“project parameter named CustID”

john

john

“You need to ensure that the value of the CustID parameter is passed to the @CustomerIDstored procedure parameter”
Direction should be output?

Al

Al

I agree with previous comments, that the above answer is correct.

@John…..the Direction is “Input” and “not Output” according to the question @CustomerID parameter INT is of input direction and not output. The stored_procedure needs to receive the @CustomerID parameter in order to work. So the above answer is correct.