Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

Minimal logging using TSQL MERGE?

$
0
0
Hello, I'm trying to load a dimension table in SSIS on SS2012. It is a type 2 SCD and I am using a method of loading using a MERGE embedding in an INSERT to update and insert. I am trying to load >400,000 rows and hitting an issue. It is failing due to the transaction log: "The transaction log for database 'db_name' is full due to 'ACTIVE_TRANSACTION'. ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. Is there a way to perform such a statement with minimal logging? I am currently using the simple recovery model. Thanks Terry

Viewing all articles
Browse latest Browse all 813

Trending Articles