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

Generate Surrogate Keys: SQL 2012 Sequences vs Identity vs SSIS Generated

$
0
0

Hello,

Identity columns and SSIS generated row numbers (and GUIDs) were candidates for surrogate keys in dimension tables under SQL 2008.

SQL 2012 introduced a new feature titled Sequences, which are said to be faster than identity columns but the use of them may produce gaps in numbers produced. This is not an issue for surrogate keys.

Could someone point me to a comparison between these 3 options? When loading  dimension tables via SSIS, which of the above features is suitable? Is there a standard design pattern?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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