|
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑 5 z+ \9 w8 t2 o0 L4 x q
3 P ?6 B/ z" X7 ~! c+ _" \上线送时间
9 M+ f8 C. O5 k: n用查询分析器 必须在billing执行' r& T0 c; k$ D
- CREATE TRIGGER [free] ON [dbo].[user_account]
! k Y! ^# H- y, ]6 G - after Insert
" ?- `% m" b- Q! ` - as
' |( ~2 e" N& n( E. W8 A. f7 l - Update [user_account] set" `# M d/ z; k% u4 |* {% l- i
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
7 t+ A. W F7 o) l L+ y! t - From Inserted
' ^* n" x0 W1 N; h7 r: l - Where [user_account].user_id=inserted.user_id& d; d$ M e$ F6 s
- and [user_account].group_id=inserted.group_id
7 s: B3 Y6 a1 h, a - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9
; ^# c. L* o: W4 j j) O - where expire_freetime =2006-1-9
复制代码
5 W) J6 ?; [5 V+ A: I6 Q- K
# f, } a; h H. ?3 o$ H; B& p+ |上线送商币
' k1 o( L4 e; V5 T用查询分析器 必须在 cash
6 \8 \! b9 U# x, b1 d O4 m) e& b# n$ i5 A5 H
- CREATE TRIGGER [free] ON [dbo].[user_cash]
: ~ |7 ~0 \2 D3 r3 S - after Insert / a% S, n [# @
- as
$ a3 c4 Y% Y. X- H - Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000% l* @: }0 v; Y' \
- From Inserted
" d/ U Y/ R# A5 x+ O6 Q) r1 Z8 @. U - Where [user_cash].group_id=inserted.group_id
* ^) D" C+ P. U8 j+ ^/ t( U - and [user_cash].id=inserted.id' K( |9 I/ L: C5 U' L5 J* a, V; {
复制代码
0 m/ V# I! o- s$ f: T2 Q! P7 h! s
查询GM号; x, e5 m \% P* o8 g7 |1 x
- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 9 j8 B7 j8 p0 _9 U! @7 S R
6 W: n$ ?- E# W: v
5 @3 Y# [* |6 Z5 e
4 {7 g6 r) l" T) l2 y$ ^" f- z5 W
|
|