Forum Discussion

smpa01's avatar
smpa01
Community Champion
2 years ago
Solved

IR with no Collission

AlexisOlson AntrikshSharma GilbertQ parry2k lbendlin  TLDR: how can I ensure that incremental refresh generates a unique index (rowNum) for the data.   I am working with a sql server table and ...
  • AntrikshSharma's avatar
    AntrikshSharma
    2 years ago

    smpa01 I think you can rely on GUID because the chances of it being a duplicate is extremely low

     

    https://betterexplained.com/articles/the-quick-guide-to-guids/

     

    1/(2^128) * 1/(2^128) = 1/(2^256)

     

    which will return 8.63617e-78 so that's 78 zeroes after decimal and then 8636 so 0.0000000000000000000000000000000000000000000000000000000000000000000000000000008636 which is very low probability of 2 GUIDs being the same.