超级版主
- 积分
- 684
- 金钱
- 224
- 贡献
- 361
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑 . U% F7 i, |( _
; i: T8 W% T. y* I( r6 ~8 Q8 B上线送时间3 Z# l! D3 t7 X7 h- X7 o( F
用查询分析器 必须在billing执行
c1 N" _0 ?, Z; t6 I. q. D- CREATE TRIGGER [free] ON [dbo].[user_account]
( X2 `5 L& D$ a5 m - after Insert+ M! m3 h1 F; G3 @4 P, o* ~ M
- as9 q* O2 ]4 \4 M2 \6 p
- Update [user_account] set
3 n8 C* }' t: O - [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
' s, {! i- Q$ Q1 E2 R# p$ F4 g+ w - From Inserted
* t6 a; y" w0 E. {: y$ \& p" o1 G - Where [user_account].user_id=inserted.user_id! v; x V! B+ g* G5 _
- and [user_account].group_id=inserted.group_id
. a. I$ [0 z0 Z' v4 [' s - update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9! ^: l# A5 z r$ q
- where expire_freetime =2006-1-9
复制代码
2 o% ?1 B& x, \1 i& k1 I1 c
" P6 p$ \+ ]( r4 @) P上线送商币
: _! [( {% f7 b; W6 m0 ?用查询分析器 必须在 cash
+ i9 g; z5 V, R: H# p* L& S
' [ w! b0 K2 ^. x/ R0 a- CREATE TRIGGER [free] ON [dbo].[user_cash] $ ^1 V% r0 l- r
- after Insert - i" t* {, x0 s* }
- as 9 ?5 R5 |7 w7 d$ Z
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000
5 h- u4 \* k0 t. N( A$ n - From Inserted 4 [9 S3 M* w0 K- E
- Where [user_cash].group_id=inserted.group_id ; L7 ^* a7 \0 C5 p
- and [user_cash].id=inserted.id
+ l# C9 D" R) n$ n) q$ Q
复制代码 9 D# O& K' o: ~. j
* i h9 ] L0 M0 `1 J& a1 k
查询GM号- ^. M4 g- C) q' U
- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码 $ V+ o+ ?) _, E. F' X6 X( N9 A/ T
9 W% \9 h5 `' Q, h( f7 A0 M
! F- q9 [9 f/ s+ ? R/ v
2 s1 V* E9 k q |
|