Sequential GUIDs

后端 未结 5 1993
礼貌的吻别
礼貌的吻别 2020-12-08 23:02

I hope someone can answer this question.

How does the UuidCreateSequential method in the rpcrt4.dll class use to seed it\'s guids?

I know this much: Microsof

5条回答
  •  [愿得一人]
    2020-12-08 23:15

    Not sure about the Win32 way, but you could use the 'undocumented' 'newSequentialID()' in MSSQL, if you have MSSQL Database connectivity.

    I Say 'undocumented' because it's treated as incorrect when trying to save it as the default value for a MSSQL Identity column, and you have to override it and say you want to use it.

提交回复
热议问题