PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You implement a SQL Server 2008 Integration Services (SSIS) package. The package
contains the following components:
• A Foreach Loop container for the Collection property as shown in the following exhibit.
(Click the Exhibit button.)
• A Foreach Loop container for the Variable Mappings property as shown in the following
exhibit.
(Click the Exhibit button.)
• A String variable named FileName.
• A String variable named DirectoryPath.

You need to update the package so that the DirectoryPath variable returns the directory path
for the file path stored in the FileName variable. Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Set the RaiseChangedEvent property of the User::FileName variable to True.

B.
Set the EvaluateAsExpression property of the User::DirectoryPath variable to True.

C.
Add a Script task to the OnPostExecute event handler of the Foreach Loop container.

D.
Set the Expression property of the User::DirectoryPath variable to the following
expression.
SUBSTRING( @[User::FileName], 1, LEN( @[User::FileName] ) – FINDSTRING( REVERSE(
@[User::FileName] ), “\\”, 1 ))

E.
Set the Expression property of the User::FileName variable to the following expression.
SUBSTRING( @[User::FileName], 1, LEN( @[User::FileName] ) – FINDSTRING( REVERSE(
@[User::FileName] ), “\\”, 1 ))

Explanation:


Leave a Reply