Temp tables not being created in SQL Server Azure I have created a stored procedure that creates multiple temp tables for use in the sproc and then drops them at the end of the sproc. The problem I am encountering is I can execute the stored procedure just fine in management studio, but when I attempt to create an SSIS data flow that retrieves the rows returned by the sproc, it give me the following error:


  Invalid object name '#tempRuns'


Is there something special I need to do in order for temp tables to work with SSIS in Azure?
To do this you will need to use global temp tables, i.e. ##TempTable.  Additionally, the TransactionOption property will need to be set to Required for the the parent container of all the objects involved.  This will keep all of the SSIS components in the same transaction.  Within the container, the tasks can use use the same Required level or Supported, which will inherit this property from the parent container.  All the components involved can either be placed within a Sequence container with TransactionOption set accordingly to isolate them, or this can be applied at the package level.