This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
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.2
yitter
4 years ago
parent
b9bf8e040f
commit
f57d4ecb8c
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
SQL/sqlserver.sql
+ 2
- 2
SQL/sqlserver.sql
View File
@@ -27,8 +27,8 @@ begin
-- Begin: 以下是需要初始化的参数,请确保 @WorkerIdBigLength 和 @SeqBigLength 的设置值跟其它应用程序相同
set @WorkerId = 1 -- 最大值 2^@WorkerIdBigLength-1
set @WorkerIdBigLength = 4 -- @WorkerIdBigLength+@SeqBigLength
,不要超过22
set @SeqBigLength = 8
set @WorkerIdBigLength = 4 -- @WorkerIdBigLength+@SeqBigLength
<23
set @SeqBigLength = 8
-- 建议不小于6
-- End
-- 当前时间戳(毫秒单位)
Write
Preview
Loading…
Cancel
Save