找回密码
 立即注册
查看: 2626|回复: 5

[技术文章] 数据库清档SQL语句

[复制链接]

136

主题

189

回帖

3845

积分

管理员

积分
3845
金钱
1345
贡献
2175
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式
  1. $ W; c6 K) H% J  K4 s7 o

  2. + B% p  o( a3 s/ C
  3. use account;. [* Q* ?1 n" e- c' g5 ~" _$ m
  4. DELETE FROM C_IP_BAN;/ c) l5 N' R8 v5 K5 \
  5. DELETE FROM C_IP_PERMIT;5 r3 N5 s2 G% e2 A* J3 d
  6. DELETE FROM C_IP_PWD;
    ) s) c7 J! l! V" y
  7. DELETE FROM C_LOGINIPBLOCK_LOG;- F4 Y! c# X; x  B8 R$ |  K6 q
  8. DELETE FROM C_SEQUENCE;
    # o& V0 Q8 v% T" ], D8 M# g
  9. DELETE FROM CP_USER_PROFILE;& n$ f' R+ q2 p- G# V2 H
  10. DELETE FROM MB_USR_IP;
      b2 P9 [( ?+ c& c1 B* A
  11. DELETE FROM MB_USR_PUN;
    , f! ]# c. U7 H4 O4 _  S5 G7 R
  12. DELETE FROM Tbl_user;( K6 e8 c  x; U8 v; V+ F6 ]+ k6 n# J4 v
  13. DELETE FROM USER_CONNLOG_KEY;! N; Z: q# u+ h. P! y: n3 y
  14. DELETE FROM USER_PROFILE;, B; W" Y$ G7 f! L5 K4 G
  15. GO
    ; s) x  E, l$ M7 W. q
  16. use billing;! L- N6 k0 g- Q. m( d9 e' P
  17. DELETE FROM bl_error_log;
    ' ~' ?& @$ t% [5 c* \% s  V
  18. DELETE FROM c_sequence;8 s3 Z4 g' G( `; }* K: }
  19. DELETE FROM dba_online_daily;
    0 r0 q2 e, }: C2 M4 X6 ^7 @- W0 W
  20. DELETE FROM dba_online_daily_notok;
    ! [0 @0 K6 d* F, ]
  21. DELETE FROM Tbl_KeepId;& Q* j/ O2 m; r
  22. DELETE FROM user_account;. ?; p6 }1 z: _5 K
  23. DELETE FROM user_account;9 a. I0 f$ S& z$ X2 K* w/ p
  24. DELETE FROM user_charge_log;
    3 L0 G0 z9 G% ]5 Z
  25. DELETE FROM user_everyday_use_info;
    # K6 \6 ?5 x. S, ~/ }" g
  26. DELETE FROM user_give_log;% p; p$ ]: A, v8 f
  27. DELETE FROM user_use_log;& F. |( O% ^; [0 s+ m3 l
  28. DELETE FROM user_use_log_bk;9 ~0 P% q; }/ K: W( p
  29. GO
    / P& O) d, n! K& \
  30. use cash;
    1 `' E6 M  j" L3 F
  31. DELETE FROM bl_error_log;; D$ [7 A2 e7 A/ t' H, h
  32. DELETE FROM Tbl_Cash_zj;
    4 w; J9 i6 O6 k9 q5 x+ f5 t- i
  33. DELETE FROM user_cash;' C9 R$ U+ m" s; J
  34. DELETE FROM user_charge_log;
    # [& p- `. B% f& Z7 V. D
  35. DELETE FROM user_use_log;
    ; u  H+ ]# f5 K& [& \
  36. GO2 ?5 N" w( u8 c3 g
  37. use character;- V$ t4 }  R6 {  [5 }$ Y( R$ @
  38. DELETE FROM C_EVENT_ITEM_OP
    $ A% p0 S5 r: ~
  39. DELETE FROM c_restword;" F" r' Q  ?8 Y& U, Z3 S+ s
  40. DELETE FROM char_connlog;2 I. b- |8 R2 {  Z7 B
  41. DELETE FROM CHAR_CONNLOG_KEY;( `, M, x- u8 r1 [9 }  g
  42. DELETE FROM DEL_USER_CHAR_LIST;4 G7 q9 S) j2 I# e* ?- v
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;2 n  P2 S; i- C3 J/ k+ H
  44. DELETE FROM GM_ITEM_MST;, h7 E0 W  P3 ]  J/ P
  45. DELETE FROM GUILD_CHAR_INFO;- f9 f: S) v: D
  46. DELETE FROM GUILD_INFO( I+ D: J$ T& i7 U
  47. WHERE guild_code NOT LIKE 'MASTERCODE';
    # Z- a. ~6 ]4 F0 k+ b
  48. DELETE FROM GUILD_INFO_SECEDE;
    - c5 {5 A& k! U% \& `: T8 |
  49. DELETE FROM GUILD_PEERAGE3 a1 e: ?. h) ]6 r9 ^- i
  50. WHERE guild_code NOT LIKE 'MASTERCODE';: S2 [8 A7 S+ }0 N% O2 y
  51. DELETE FROM MSSNGR_CHAR_LIST;, ?" M$ W- }, v
  52. DELETE FROM SIEGE_INFO;
    4 O* z- Q( H$ `9 r+ Q; Q6 r4 q" e
  53. DELETE FROM SIEGE_RESULT_LOG;0 v& D! d# y" d; X& O
  54. DELETE FROM user_bag
    ( m5 ]& _4 s. D' S8 t
  55. WHERE character_no NOT LIKE 'DEKARON_000001';  G3 }( t0 c  }) b0 @8 A2 s
  56. DELETE FROM user_bag_copy;
    8 Q% p( D8 G9 t& ^  e
  57. DELETE FROM user_bag_secede;2 |" L  K6 [" D! m3 X6 |
  58. DELETE FROM user_character3 _: @' [4 ~) ~% @9 d0 B0 Y
  59. WHERE character_no NOT LIKE 'DEKARON_000001';/ |2 y" H0 _9 }
  60. DELETE FROM user_character_secede;9 b6 m, U+ v8 }
  61. DELETE FROM USER_POSTBOX;
    2 P% s1 N* @; W& n7 H% l. ?
  62. DELETE FROM USER_POSTBOX_SECEDE;5 G/ h% s% h) l
  63. DELETE FROM User_Quest_Doing;! X. o9 J. j' T6 q
  64. DELETE FROM user_quest_doing_secede;
    - K3 L$ W, ?; u6 f1 ?  w' o
  65. DELETE FROM User_Quest_Done;* |0 f' v6 K  ]9 O5 V2 x6 D, a
  66. DELETE FROM user_quest_done_secede;
    , \: i1 z5 f/ t' {7 i$ c
  67. DELETE FROM user_skill
    9 a# S- |' ~6 A- G' U
  68. WHERE character_no NOT LIKE 'DEKARON_000001';7 y! K" r+ A  `( ?$ I2 f
  69. DELETE FROM user_skill_secede
    8 U0 q# Y6 V6 O! [4 B& |. e+ Q& g5 y
  70. DELETE FROM user_slot) N, v* C4 F' P9 h8 ?6 B" g  I8 i
  71. WHERE character_no NOT LIKE 'DEKARON_000001';0 \2 J, I) e& V) k/ [  k
  72. DELETE FROM user_storage;& T; C6 K+ Z0 s# X! u$ N$ D/ K
  73. DELETE FROM user_storage_copy;
    , |5 I2 M: g  u" K- a
  74. DELETE FROM USER_STORE;
    3 t) i0 T1 K/ R9 o) \9 B& _, l
  75. DELETE FROM USER_STORE_copy;
    * i1 e3 ]6 x; X% _5 @2 Q
  76. DELETE FROM USER_STORE_SECEDE;
    " A$ t/ `! B: X" J
  77. DELETE FROM user_suit
    8 U6 P* h$ S" v5 z6 q& W
  78. WHERE character_no NOT LIKE 'DEKARON_000001';
    " M, t: {  S/ s1 V
  79. DELETE FROM user_suit_copy;3 `4 u( O' T) l# ^. S- ]1 Y+ j: P
  80. DELETE FROM user_suit_secede;
    , @$ {0 q' N6 }% D1 c- @
  81. GO
复制代码
4 D' m( {! k/ _- s. ?- x
. t  a! H% b* k5 @+ i- f
商业服务端 登录器 网站 出售

8

主题

231

回帖

863

积分

高级会员

积分
863
金钱
528
贡献
91
注册时间
2023-11-10
发表于 2024-1-29 15:23:38 | 显示全部楼层
我是来学习的!

21

主题

378

回帖

1013

积分

高级会员

积分
1013
金钱
445
贡献
169
注册时间
2024-1-20
发表于 2024-1-31 23:10:21 | 显示全部楼层
感谢楼主分享!!

0

主题

128

回帖

577

积分

中级会员

积分
577
金钱
345
贡献
104
注册时间
2024-9-19
发表于 2024-10-15 23:11:27 | 显示全部楼层
干活学习

0

主题

65

回帖

1661

积分

金牌会员

积分
1661
金钱
1240
贡献
356
注册时间
2023-11-23
发表于 2024-10-16 14:56:13 | 显示全部楼层
语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

136

主题

189

回帖

3845

积分

管理员

积分
3845
金钱
1345
贡献
2175
注册时间
2023-11-3
QQ
 楼主| 发表于 2024-10-16 16:39:16 | 显示全部楼层
大张 发表于 2024-10-16 14:56% N9 f; ~, G) c. C) q: t' B. l
语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!
  h* y! ~1 A0 w! k
帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2025-4-5 04:23 , Processed in 0.067440 second(s), 21 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表