This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
idgenerator
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
6
Wiki
Activity
Issues
5
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
auto commit
tags/v1.1.0
yitter
3 years ago
parent
47bcfe4001
commit
30379c1e1c
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
SQL/README.md
+ 2
- 2
SQL/README.md
View File
@@ -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
Write
Preview
Loading…
Cancel
Save