Create key via SQL and C# for partition key
问题 I have a set of data which has a hierarchy of 3 levels. Each level has a name. I am looking at combining all of these names into a single string then creating a numeric hash that can be used as a hash key for a service fabric stateful service. I have seen lots online about finding data with keys but I am not sure how to actually create them in an efficient way. Ideally I would like a hash that is quick and easy to generate in SQL Server 2017 and C#. Can anyone point me in the right direction,