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

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

[复制链接]

134

主题

166

回帖

2947

积分

管理员

积分
2947
金钱
980
贡献
1667
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式

  1. # ]- G: D+ b+ B) V' d4 w2 q

  2. ) z4 O6 x( ?3 G; F
  3. use account;! D0 K2 l& C. k6 l
  4. DELETE FROM C_IP_BAN;/ q3 A& e7 P" `# c
  5. DELETE FROM C_IP_PERMIT;& F5 Y% V; G0 ~' t0 C3 w
  6. DELETE FROM C_IP_PWD;5 \, a' N. f- u1 D
  7. DELETE FROM C_LOGINIPBLOCK_LOG;! {& _7 z5 y; y
  8. DELETE FROM C_SEQUENCE;
    & N" X" C# s' L- m4 A, _
  9. DELETE FROM CP_USER_PROFILE;
    . i* \9 D# V: f. {$ }: I2 a8 h& m
  10. DELETE FROM MB_USR_IP;# E) \" }, R; }/ @" L
  11. DELETE FROM MB_USR_PUN;
    ) V& a% O( Q# D
  12. DELETE FROM Tbl_user;
    . T3 A7 p" z/ d
  13. DELETE FROM USER_CONNLOG_KEY;
    , y5 [8 i2 i8 ]' T% a+ j- `7 _2 b
  14. DELETE FROM USER_PROFILE;) g" ^3 Z* Y" }2 T! b, J
  15. GO
    2 q9 Z0 P' }/ G9 u# e6 g* h
  16. use billing;2 Z+ U% a  }" s* X3 H) l% D
  17. DELETE FROM bl_error_log;/ W1 V. ]. q+ N
  18. DELETE FROM c_sequence;
    ( n8 }8 G, Q0 V" T
  19. DELETE FROM dba_online_daily;8 T$ H# `4 n  D# E* c
  20. DELETE FROM dba_online_daily_notok;
    ; L" J7 t/ k+ q. o2 N
  21. DELETE FROM Tbl_KeepId;
    6 [3 o" p2 P* @" T2 r; Y
  22. DELETE FROM user_account;
    8 X4 t: i) h5 [! W
  23. DELETE FROM user_account;4 [0 b. O3 B  C; w( K2 s# p- i
  24. DELETE FROM user_charge_log;
    " U. R0 Q; q8 F) h" h7 m
  25. DELETE FROM user_everyday_use_info;
    2 H' u2 M' Y! m/ ?2 o! H- c
  26. DELETE FROM user_give_log;
    * x+ g, u' l4 x9 ?4 P
  27. DELETE FROM user_use_log;
    + |; @0 g9 w$ n0 n, x
  28. DELETE FROM user_use_log_bk;
    $ ^' A( \# f7 I- @( D
  29. GO" O; a+ f& c- f9 s3 J0 y3 X" q$ @
  30. use cash;1 `" J8 G0 @4 C1 q$ Y1 P2 c
  31. DELETE FROM bl_error_log;2 {, c6 }* j; v4 x5 e) K, e
  32. DELETE FROM Tbl_Cash_zj;% Z; d' x# X8 ^9 ^3 Y2 ]
  33. DELETE FROM user_cash;
    & A# O# S% P4 E' a3 W
  34. DELETE FROM user_charge_log;
    : x' k: p) D+ z2 b
  35. DELETE FROM user_use_log;
    * Y$ s1 y" J' P
  36. GO2 d7 X4 v7 d/ D% q2 F/ a$ p* Q
  37. use character;
    3 W" z  U% U$ B) m$ f$ g* w
  38. DELETE FROM C_EVENT_ITEM_OP
    + v9 V4 Y1 Q( z* T  x; t1 }: \$ S
  39. DELETE FROM c_restword;; t8 {, \% {4 U
  40. DELETE FROM char_connlog;; ?( f2 e4 L4 I( ?: u7 S3 N
  41. DELETE FROM CHAR_CONNLOG_KEY;
    7 F, V" l  X9 w
  42. DELETE FROM DEL_USER_CHAR_LIST;
    9 n& U5 }, Z: k% k
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;
    ' J6 f4 d4 {: q! s
  44. DELETE FROM GM_ITEM_MST;
    & R7 X. O  b2 P, y
  45. DELETE FROM GUILD_CHAR_INFO;* a9 \5 j8 Q6 ?' ]
  46. DELETE FROM GUILD_INFO
    ; m+ D, k) O5 P+ x: `% p+ \
  47. WHERE guild_code NOT LIKE 'MASTERCODE';' l! c0 b* t2 Z
  48. DELETE FROM GUILD_INFO_SECEDE;
    8 N, X& ?* Q6 O/ V4 R% S% e
  49. DELETE FROM GUILD_PEERAGE
    ) h: [4 r- a) d
  50. WHERE guild_code NOT LIKE 'MASTERCODE';
    4 c- |0 P2 a5 m1 R) g
  51. DELETE FROM MSSNGR_CHAR_LIST;( v  z) D1 U( V+ V
  52. DELETE FROM SIEGE_INFO;
    ! @8 c$ W, F' m* ^5 u6 b
  53. DELETE FROM SIEGE_RESULT_LOG;: C( F( t% M. N" _. v4 Q
  54. DELETE FROM user_bag' f5 y% b  f% o9 @
  55. WHERE character_no NOT LIKE 'DEKARON_000001';* G0 Y- S2 c3 i6 T3 u
  56. DELETE FROM user_bag_copy;
    # S5 Y$ `* d7 s+ |$ k5 l" \
  57. DELETE FROM user_bag_secede;
    / |2 u% c( H/ V
  58. DELETE FROM user_character
    + D2 [3 R, S! j) s
  59. WHERE character_no NOT LIKE 'DEKARON_000001';) j. C) y- D2 |6 Y+ f
  60. DELETE FROM user_character_secede;
    7 e) l4 d( A; v4 L
  61. DELETE FROM USER_POSTBOX;
    . |' z8 ]8 g- c; O/ \) d: R
  62. DELETE FROM USER_POSTBOX_SECEDE;
      [. r1 x; U; ^
  63. DELETE FROM User_Quest_Doing;
    3 u! W4 G! I0 L/ d" v
  64. DELETE FROM user_quest_doing_secede;$ F# s) l/ j+ t8 T3 G
  65. DELETE FROM User_Quest_Done;
    1 R3 c: Z; i' V7 O
  66. DELETE FROM user_quest_done_secede;
    4 g! Z* v, J3 y: p6 o1 g7 H
  67. DELETE FROM user_skill! P/ ^& k( w7 G  g# w5 x% Z
  68. WHERE character_no NOT LIKE 'DEKARON_000001';8 j$ q8 {; \( t" H
  69. DELETE FROM user_skill_secede. c" A$ `3 C& w# X& e5 B
  70. DELETE FROM user_slot0 s, Y# P3 @" P' E5 Z1 T
  71. WHERE character_no NOT LIKE 'DEKARON_000001';& S9 Z$ V6 N0 k, e& c7 {. I
  72. DELETE FROM user_storage;4 @: s- P, l7 _& w$ Z7 p# U0 i
  73. DELETE FROM user_storage_copy;
    2 q: P* C% N& p8 [
  74. DELETE FROM USER_STORE;
    * k& I6 j  U( {. a* f3 `
  75. DELETE FROM USER_STORE_copy;
    : n8 q; A$ P, s9 _5 H. ?. z
  76. DELETE FROM USER_STORE_SECEDE;  I/ w3 l% [& [- l  x
  77. DELETE FROM user_suit9 [* E! u. Z/ }: R% C7 T
  78. WHERE character_no NOT LIKE 'DEKARON_000001';
      d; w  S- |9 }; }3 R
  79. DELETE FROM user_suit_copy;) p- R7 ]1 Y3 l3 X' t/ O6 R  g
  80. DELETE FROM user_suit_secede;
    $ Y3 i# c4 y1 ~& b0 k% `
  81. GO
复制代码

- W/ `. j5 a) f: e8 X/ T; ?; d( e4 n2 w: D! _9 j
商业服务端 登录器 网站 出售

8

主题

228

回帖

783

积分

高级会员

积分
783
金钱
451
贡献
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

主题

125

回帖

445

积分

中级会员

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

0

主题

64

回帖

1166

积分

高级会员

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

134

主题

166

回帖

2947

积分

管理员

积分
2947
金钱
980
贡献
1667
注册时间
2023-11-3
QQ
 楼主| 发表于 2024-10-16 16:39:16 | 显示全部楼层
大张 发表于 2024-10-16 14:56
+ X! l9 l5 @* U3 y语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

2 P1 v+ S! g5 i7 r0 w! ]帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2025-1-18 15:52 , Processed in 0.052514 second(s), 21 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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