超级版主
- 积分
- 738
- 金钱
- 228
- 贡献
- 411
- 注册时间
- 2023-11-3
|
本帖最后由 EGameol 于 2023-11-5 16:41 编辑
P/ d* v$ m( w5 p+ q/ M% V' B: S' Q4 ~+ _/ i5 X) v
上线送时间* X: Z- ^4 m5 ^3 w; O
用查询分析器 必须在billing执行) J) q( S2 T9 p
- CREATE TRIGGER [free] ON [dbo].[user_account]6 t- w8 w5 I3 m1 M) L9 t
- after Insert" S* S V! O+ w' ?
- as
8 M K6 k& `$ f5 K# `$ D - Update [user_account] set" F7 Q# P- E7 n3 S
- [user_account].remain_time =999999,remain_freetime =999999,expire_freetime =2999-1-9
/ Z, f( M7 w% N2 Q3 D' H9 B1 g - From Inserted
1 \3 S. \/ |$ k- u/ f; u) a$ U - Where [user_account].user_id=inserted.user_id. e/ J) ~4 ?) @) n* @7 E
- and [user_account].group_id=inserted.group_id+ ~# p4 E" l$ w% a% z
- update user_account set remain_time =999999,remain_freetime=999999,expire_freetime=2999-1-9$ q; W# _5 P. F5 S
- where expire_freetime =2006-1-9
复制代码 2 d/ S! B7 ]9 a: w# E; h
, v& O, I. i, k1 k$ l4 j上线送商币7 Q. O; ?' C0 ]2 c
用查询分析器 必须在 cash
$ A0 v. @$ Y) z3 @+ I J% v3 E0 g5 i- p: h* C. M' W+ d& {# `
- CREATE TRIGGER [free] ON [dbo].[user_cash]
" V$ r8 c5 Y" F. G9 N - after Insert
6 m( V$ N" O# l5 Z - as ! d8 c# p3 ~6 Z Y2 R5 d8 b
- Update [user_cash] set [user_cash].amount=900000000,free_amount=900000000 c1 q/ o5 O3 p; k) v% ?9 |
- From Inserted * \' t& G& q! v/ y' W
- Where [user_cash].group_id=inserted.group_id $ {, w, r, a& H# J4 m0 L' r
- and [user_cash].id=inserted.id! X3 j) k) O+ P4 [. g z
复制代码
6 [0 e9 j1 m& c" \& {) U, `; ~" A: s- Q1 K1 v- z
查询GM号7 B# n/ j7 `5 q3 Z2 G, f. Y
- selectcharacter_namefromcharacter.dbo.user_characterwherecharacter_namelike%GM%
复制代码
& Y9 M* D: N. Q' N+ a1 ~' `; [9 a( R
2 ]( R, w: m+ q
6 f/ y' j) j" W5 c) k
|
|