Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Create table / drop table inside the SSIS using Stored Procedure or TSQL

$
0
0

Hi,

As part of the requirement, I have to create a SSIS package and inside the package, I have to create one physical table, load around 70 million records and do some logic and comparison and drop it at the end of the execution.

  >  Should I use a Execute SQL task to create/drop table?  or Should I create a stored procedure and inside the stored procedure itself, can I create a physical table , load the data and do the logic whatever I required and drop it at the end?  Which is the best way to do it? 

  > A sql server agent service account is going to run the job - Does the service account need any extra permission to create/drop a table during the ssis execution? Please help!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>