Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Insertig failed records into a different table than good records.

$
0
0
I've been building an SSIS package in SQL 2014. I am running a query and inserting the returned data into a staging table before I create three separate CSV files from three separate queries of the staging table. I would like to insert records that fail being inserted into my staging table into a different table so that I can review the bad records and correct them and then rerun my package.My question is how would I go about doing that? I can supply more data if needed.Thanks.Ralph

Viewing all articles
Browse latest Browse all 3145

Trending Articles