提交 30379c1e 编写于 作者: yitter's avatar yitter

auto commit

上级 47bcfe40
......@@ -4,7 +4,7 @@
这里是在不同数据库中生成雪花ID的SQL脚本。
#### SQL Server
## SQL Server
设计说明:
......@@ -31,7 +31,7 @@ set @WorkerIdBigLength = 4 -- 规则约束:@WorkerIdBigLength+@SeqBigLength<23
set @SeqBigLength = 8 -- 建议不小于6,在当前SQL版本中,@SeqBigLength 决定随机数的最大值(未采用自增数,这需要数据表记录Seq值)
```
#### 其它思路
## 其它思路
除了用SQL Server方法生成雪花ID之外,还可让SQL Server调用外部dll生成ID。参考:https://www.cnblogs.com/woxpp/p/3990277.html
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册