PrepAway - Latest Free Exam Questions & Answers

What should you use to set the variable?

You are implementing a SQL Server Integration Services (SSIS) 2012 package that loads
data from various flat files and a Windows Azure SQL Database database.
Daily transactions must be loaded into a staging database. All the SSIS tasks will use the
CurrentDate variable as the transaction date.
You need to set the CurrentDate variable to the date stored in a control table of the Windows
Azure SQL Database database when the package starts. You need to achieve this goal by
using the least amount of development effort.
What should you use to set the variable?

PrepAway - Latest Free Exam Questions & Answers

A.
an Expression task

B.
an Execute SQL task

C.
a Script component

D.
a Script task

14 Comments on “What should you use to set the variable?

  1. ryahan says:

    the 2 questions are different Here we are referring to a table however question 183 is referring to a current execution date and i am 100 % sure that for the current exec date option you can easily do it via Expression task and it is simple. however here i am not sure that you can use table value in the expression task builder to refer to a table so maybe both answers are actuall correct




    0



    0
  2. Slazenjer_m says:

    The answer is A. Use an Expression Task, and specify a System Variable using any of the default variable expressions (like, @[System::StartTime]) predefined in the SQL database.




    0



    0
    1. Henry Figgins says:

      I don’t think this is right. I don’t think we’re supposed to get the current date with a system variable or expression and set it to user::current date. I think we’re supposed to query for it from that azure control table because of this sentance:
      You need to set the CurrentDate variable to the date stored in a control table of the Windows
      Azure SQL Database database when the package starts.

      Again, this is question wording issue rather than how good are you at ssis.




      0



      0
  3. Slaxenjer says:

    This looks like you need to query ‘the Date column of a stored control table’ of Windows Azure SQL Database, in order to retrieve the CurrentDate values.

    Really, I have to concur with option B, cos it seems a Execute SQL task would be needed for this!!




    0



    0

Leave a Reply