SQL Server 2008 provides the ability to script data as insert statements using the Generate Scripts option in Management Studio. Is it possible to access the same functionality from the SSIS package?
Here is what I am trying to accomplish:
I have a scheduled task that runs at night and scripts the entire schema and data from a SQL Server 2008 database. Then it uses a script to create the mirror copySQLCE 3.5 database . I use the sp_generate_inserts stored procedure to accomplish this, but it has problems with multiple data types and also has problems processing more than 4,000 columns (excerpts from SQL Server 2,000 days).
The script Data function looks like it can solve my problems, if only I can automate it.
Any suggestions?
user338390
source
share