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

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

[复制链接]

128

主题

145

回帖

2422

积分

管理员

积分
2422
金钱
870
贡献
1279
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式
  1. 5 v: F" C" ^, W, l

  2. + V1 }4 B5 r, ?( C1 T$ M7 M1 G
  3. use account;
    0 H. c0 \" e! j5 u% Y) N( `9 Z: v; P
  4. DELETE FROM C_IP_BAN;
    . g, L, \- J/ [4 m6 J: ]. T
  5. DELETE FROM C_IP_PERMIT;
    7 J+ L$ \! \  N& m
  6. DELETE FROM C_IP_PWD;5 r+ t" U$ j: }0 R  ~
  7. DELETE FROM C_LOGINIPBLOCK_LOG;
    ! Y8 `" Y  w  \) b; E: k! f3 m
  8. DELETE FROM C_SEQUENCE;3 P5 l/ g1 @% B! |" q8 T
  9. DELETE FROM CP_USER_PROFILE;
    & G7 x# ?6 T9 t2 O: J/ ~
  10. DELETE FROM MB_USR_IP;: X$ \( k" c8 s
  11. DELETE FROM MB_USR_PUN;# f, u! D, l( z! F# h6 S' D
  12. DELETE FROM Tbl_user;
    , O! f- M, h4 v+ |& p* f+ s
  13. DELETE FROM USER_CONNLOG_KEY;
    4 D9 k/ ?9 j/ M/ Q& R) i
  14. DELETE FROM USER_PROFILE;7 v7 q: k$ B+ g, v% z# Q/ g, H
  15. GO* D- j4 ~* X* `
  16. use billing;
    " O  L8 J1 p$ t. G) X5 V$ [  p' ?% F
  17. DELETE FROM bl_error_log;
      A( y5 r% z3 d8 S" K; i" o
  18. DELETE FROM c_sequence;" U. V1 O! H) P  q; m1 U
  19. DELETE FROM dba_online_daily;
    3 s) I2 w) j5 `# _# g
  20. DELETE FROM dba_online_daily_notok;
    * ]- y2 u9 S4 p& I( {$ i& f3 y
  21. DELETE FROM Tbl_KeepId;! @' S- a0 c7 g- W1 n
  22. DELETE FROM user_account;
    ) h( t' h' C- \/ u
  23. DELETE FROM user_account;
    # \6 E+ P" S6 u  H
  24. DELETE FROM user_charge_log;
    $ |! Q2 j) Q  q
  25. DELETE FROM user_everyday_use_info;
    # t: L  U0 V% E9 P
  26. DELETE FROM user_give_log;/ G- z( b; v) _6 z9 w
  27. DELETE FROM user_use_log;6 ]- p7 S. w) x
  28. DELETE FROM user_use_log_bk;2 o7 r7 Y2 I. \+ l- O/ M: G7 ]& t3 \
  29. GO
      @5 H# j' [# ?9 }. g: |
  30. use cash;
    / X& @* k6 m/ A+ H8 H
  31. DELETE FROM bl_error_log;
    . [; L- |5 u5 \( g- A9 j0 j! [
  32. DELETE FROM Tbl_Cash_zj;
    % M+ X# Y6 L- x' }* @8 ^* \1 w$ a
  33. DELETE FROM user_cash;* X6 I/ B& M+ k/ Y
  34. DELETE FROM user_charge_log;
    0 f/ W6 }" ]+ X. Q. O
  35. DELETE FROM user_use_log;, A. ?. o3 y1 T* W" B
  36. GO
    " H  d) C* u# V, _, r( |0 n
  37. use character;, T; E3 F' @+ z/ w" @# ^# T& _
  38. DELETE FROM C_EVENT_ITEM_OP; g# {- O, ?3 k
  39. DELETE FROM c_restword;# X* V: a# M2 I9 ~& D: f
  40. DELETE FROM char_connlog;
      j* Q5 h4 A9 @- m# t, Q
  41. DELETE FROM CHAR_CONNLOG_KEY;
    7 ?2 s4 V4 F1 |. j. T3 W* ~' I* @
  42. DELETE FROM DEL_USER_CHAR_LIST;
    2 f% l. A/ l5 _! O% l/ x: \
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;0 {" R' L& `6 X) E
  44. DELETE FROM GM_ITEM_MST;& b% `6 `$ f0 ]2 X1 F+ d
  45. DELETE FROM GUILD_CHAR_INFO;
    / c/ U, |: G# H
  46. DELETE FROM GUILD_INFO. f6 ^6 I- F3 e3 ?( y5 o- t& G0 B
  47. WHERE guild_code NOT LIKE 'MASTERCODE';) E" h$ B8 V( W" D
  48. DELETE FROM GUILD_INFO_SECEDE;
    : I% R0 r9 E' D# V1 @. X1 A, s
  49. DELETE FROM GUILD_PEERAGE
    2 Z  k0 Z0 a$ w6 m6 D( }& F7 x
  50. WHERE guild_code NOT LIKE 'MASTERCODE';
    . F& m! [6 e. e$ C
  51. DELETE FROM MSSNGR_CHAR_LIST;
    ' g3 ^% \4 L8 y0 H% x; d
  52. DELETE FROM SIEGE_INFO;
    . |0 R: c. v0 M. \  O
  53. DELETE FROM SIEGE_RESULT_LOG;! C" [9 [; q7 i2 f3 x3 V2 i
  54. DELETE FROM user_bag
    9 l+ k) G# B: g. S2 Y
  55. WHERE character_no NOT LIKE 'DEKARON_000001';
    , d! o. T- a' e% W
  56. DELETE FROM user_bag_copy;
    $ K" L4 }+ R5 O1 V6 c3 \9 h
  57. DELETE FROM user_bag_secede;
    + A& d. D) i; p; m) \
  58. DELETE FROM user_character- |3 k; W7 k8 g: a5 K
  59. WHERE character_no NOT LIKE 'DEKARON_000001';* E- c$ d( W4 U# }* e0 c2 u" r. `
  60. DELETE FROM user_character_secede;
    # E  r& K! e+ r% ]5 I. W& J7 p4 L
  61. DELETE FROM USER_POSTBOX;
    7 y  N% Q: D% f( p6 C8 ]5 f
  62. DELETE FROM USER_POSTBOX_SECEDE;
    $ F! X+ p+ g' j
  63. DELETE FROM User_Quest_Doing;+ T" R: q0 t/ h! Z
  64. DELETE FROM user_quest_doing_secede;6 d) [1 l- Q3 `0 N" M0 E  Z1 @, h
  65. DELETE FROM User_Quest_Done;
    2 T5 M3 q# x" a, X+ ^0 `
  66. DELETE FROM user_quest_done_secede;9 C' l1 `! ]7 d9 a" J8 E) u# d
  67. DELETE FROM user_skill
    ! R8 q1 a4 Z6 v4 P3 L/ Q6 t
  68. WHERE character_no NOT LIKE 'DEKARON_000001';
    3 j" @8 r0 g7 D* @
  69. DELETE FROM user_skill_secede' U6 g) }3 h4 o2 F' U1 J
  70. DELETE FROM user_slot3 n( |7 s+ _" v: c% k* _
  71. WHERE character_no NOT LIKE 'DEKARON_000001';  h! \0 c9 g2 }5 C% @$ P
  72. DELETE FROM user_storage;
    8 j* I# B! G% V, c0 F3 Z
  73. DELETE FROM user_storage_copy;' X. l+ o! x# k% r* O1 i+ a
  74. DELETE FROM USER_STORE;
    2 c6 Z( d) m) O7 a+ Y
  75. DELETE FROM USER_STORE_copy;
    ; \$ J8 ?+ J: b# a; P
  76. DELETE FROM USER_STORE_SECEDE;
    - h$ N0 L- D5 H' n9 v3 J, f; K
  77. DELETE FROM user_suit. W$ B: j7 i, W' _
  78. WHERE character_no NOT LIKE 'DEKARON_000001';
    ' |( h& |* P5 `- i7 C) o
  79. DELETE FROM user_suit_copy;
    + R+ A( S9 n6 z3 w0 w) q4 p  P
  80. DELETE FROM user_suit_secede;$ H, u/ s8 X; {* S" F1 N
  81. GO
复制代码

( N; `1 H: v3 N  i
! |2 [/ Y/ ?' c) y
商业服务端 登录器 网站 出售

8

主题

223

回帖

732

积分

高级会员

积分
732
金钱
400
贡献
96
注册时间
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

主题

117

回帖

326

积分

中级会员

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

0

主题

63

回帖

1016

积分

高级会员

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

128

主题

145

回帖

2422

积分

管理员

积分
2422
金钱
870
贡献
1279
注册时间
2023-11-3
QQ
 楼主| 发表于 2024-10-16 16:39:16 | 显示全部楼层
大张 发表于 2024-10-16 14:56
2 L3 |" o# `. ]; O语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

+ `6 g( r1 K3 T3 G" z* b% I! Q6 f帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2024-11-26 10:47 , Processed in 0.065444 second(s), 21 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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