I have a staging table that will be broken down and inserted into 5 other tables programmatically. I need to create a primary key for each row using the data that will be inserted into that table, columns range from 3 to 50 for the tables. Keepin mind when I pull data for each table I am pulling distinct data. I was wondering if SQL server had any type of hashing function or if anyone knew a good way to do this on SQL Server's side? Thanks!