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

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

[复制链接]

131

主题

151

回帖

2521

积分

管理员

积分
2521
金钱
896
贡献
1343
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式
  1. / S* H& D8 T* M

  2. $ m, r' t. Y. C5 A$ w* P8 ?
  3. use account;
    ( k, a: t, b5 g+ E' w& I' ]
  4. DELETE FROM C_IP_BAN;+ b) j) M  G4 ]0 {
  5. DELETE FROM C_IP_PERMIT;
    & L1 S3 z" B# K% ?0 F* B! @6 t
  6. DELETE FROM C_IP_PWD;, e7 Y4 M/ `1 c  ^5 Y* q
  7. DELETE FROM C_LOGINIPBLOCK_LOG;1 i& ^* h3 B  m+ H5 G4 f0 r
  8. DELETE FROM C_SEQUENCE;4 C9 D" Z# s* f: Q6 l
  9. DELETE FROM CP_USER_PROFILE;9 F# N' W8 q+ |) X
  10. DELETE FROM MB_USR_IP;! \  o  c* Q3 k9 g% X
  11. DELETE FROM MB_USR_PUN;, N8 H* F' p1 |5 N: X. r% @: ~  u
  12. DELETE FROM Tbl_user;
    8 H+ D" N( J4 ?+ E. {
  13. DELETE FROM USER_CONNLOG_KEY;
    ( L; l( K$ U6 Y3 |
  14. DELETE FROM USER_PROFILE;
    , a  w+ H+ J- j& b& O5 ^
  15. GO7 l% p/ N( G8 i8 [! X# J
  16. use billing;
    6 h5 y# b# d3 K4 T7 C* Z2 `5 b2 _
  17. DELETE FROM bl_error_log;; y3 k1 B2 O9 w- C
  18. DELETE FROM c_sequence;* f  ~7 O) z# s5 Z* m* G2 r
  19. DELETE FROM dba_online_daily;1 {/ v4 k9 R" t: R. b
  20. DELETE FROM dba_online_daily_notok;
    : h# f1 J; j% t4 ~3 r: `2 s
  21. DELETE FROM Tbl_KeepId;  D5 i+ {7 |; _; X2 k5 G
  22. DELETE FROM user_account;
    ' ]& e6 o/ \+ v, a0 k) h
  23. DELETE FROM user_account;, _3 x8 W, u: k0 `# z4 e# {4 a# Z: Z8 ?
  24. DELETE FROM user_charge_log;, k6 q( ^" B6 T, z" X
  25. DELETE FROM user_everyday_use_info;
    + t+ j  V7 |1 f6 S. v. c4 f: h
  26. DELETE FROM user_give_log;- ]9 t+ X5 a* q* y3 n5 E
  27. DELETE FROM user_use_log;
    7 k7 Q7 V; G5 E7 U, E, E
  28. DELETE FROM user_use_log_bk;- p! g# i5 K- l+ a6 t  }! O
  29. GO. l" P2 f2 L" G
  30. use cash;
    1 J  B6 O% x  m9 G
  31. DELETE FROM bl_error_log;. |% Y( l- _) E0 s
  32. DELETE FROM Tbl_Cash_zj;
    ( {# a3 e: S8 J; R$ Z2 T9 h3 z
  33. DELETE FROM user_cash;
    $ [4 r+ c. Z$ i# n' M1 }. k& F
  34. DELETE FROM user_charge_log;
    " w. i0 s% K' O/ W0 ?5 }" f6 o. _/ x7 K
  35. DELETE FROM user_use_log;" V# q% \3 h+ P0 f0 s
  36. GO: U! \1 b8 h7 ~( q. s) C
  37. use character;) p* C7 O" q" ?
  38. DELETE FROM C_EVENT_ITEM_OP
    & P- z! n& `7 }4 E
  39. DELETE FROM c_restword;
    : H- h( g, o( S4 S. t
  40. DELETE FROM char_connlog;
    " h0 ?% Z5 q& l- `& [7 ^
  41. DELETE FROM CHAR_CONNLOG_KEY;) w+ u6 v$ |, c+ h% ?  m
  42. DELETE FROM DEL_USER_CHAR_LIST;
    ; L; N. S% N- H: S1 J7 ?. V
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;
    3 ]$ }- j" w+ r6 B
  44. DELETE FROM GM_ITEM_MST;+ Z; H9 Y0 |/ c2 d/ Q& Y$ d5 K
  45. DELETE FROM GUILD_CHAR_INFO;
    3 H6 D( z2 i7 n/ h
  46. DELETE FROM GUILD_INFO
    0 x4 o5 ?! s( S5 B5 h, p$ g* r' P
  47. WHERE guild_code NOT LIKE 'MASTERCODE';
    1 a3 p# b( n, }$ j
  48. DELETE FROM GUILD_INFO_SECEDE;5 L1 U, P& j! `# u4 U/ s' J) b  t& Y
  49. DELETE FROM GUILD_PEERAGE
    7 e  @) p$ z5 H7 Z+ s+ y7 ?( D7 \
  50. WHERE guild_code NOT LIKE 'MASTERCODE';! y+ r6 }% l& W
  51. DELETE FROM MSSNGR_CHAR_LIST;- L. g6 Z0 |8 Z0 ]( l$ ^, d7 |6 t
  52. DELETE FROM SIEGE_INFO;2 Q/ x6 M6 W% u
  53. DELETE FROM SIEGE_RESULT_LOG;
    4 B" P; c# z1 h, j& l
  54. DELETE FROM user_bag5 \' r+ }9 y. K. _
  55. WHERE character_no NOT LIKE 'DEKARON_000001';- ?7 ~& `3 k/ Y: K
  56. DELETE FROM user_bag_copy;
    + Z+ v  A. ^+ }0 G
  57. DELETE FROM user_bag_secede;$ s6 h2 ?* M6 D
  58. DELETE FROM user_character
    - u1 {, x6 T0 }, ~5 G9 m" I
  59. WHERE character_no NOT LIKE 'DEKARON_000001';. ], M2 V: h& ]# `
  60. DELETE FROM user_character_secede;% `2 _' |8 ]" y5 z* q  B
  61. DELETE FROM USER_POSTBOX;
      [' g$ c3 R6 A- [
  62. DELETE FROM USER_POSTBOX_SECEDE;
    3 b7 [! r  c' {# E7 f
  63. DELETE FROM User_Quest_Doing;3 ^- z0 w  U4 F+ h: O: L0 F8 V
  64. DELETE FROM user_quest_doing_secede;
    2 V1 }$ P# M7 a
  65. DELETE FROM User_Quest_Done;' [( d, a8 J7 l+ r# \" c
  66. DELETE FROM user_quest_done_secede;
    - X  E, B4 N, d: K: s2 x
  67. DELETE FROM user_skill
    ' I% O# n# q6 b+ \, j0 X, g7 T7 R* g
  68. WHERE character_no NOT LIKE 'DEKARON_000001';, k9 L6 b. }* Y0 @: T1 K( U: q( E
  69. DELETE FROM user_skill_secede
    - _' |8 N8 R& q9 Z- V( ^
  70. DELETE FROM user_slot. j9 p; ~+ D7 y% [: ]* i2 _$ }
  71. WHERE character_no NOT LIKE 'DEKARON_000001';
    7 \+ H. [+ g0 |9 ~
  72. DELETE FROM user_storage;( t, s" E; A8 P# E% w
  73. DELETE FROM user_storage_copy;
    + \0 p5 F6 O9 r+ S3 o# O  Y$ W0 O
  74. DELETE FROM USER_STORE;
    9 `' w0 J/ K( }  N
  75. DELETE FROM USER_STORE_copy;
    $ Y' Z. r( b% D' Z. N6 H% a  m! L
  76. DELETE FROM USER_STORE_SECEDE;" a2 c- \# |4 G& M% i. R
  77. DELETE FROM user_suit% W7 h# N; F. y7 z# B0 w- w
  78. WHERE character_no NOT LIKE 'DEKARON_000001';$ v' C% M" m  Y
  79. DELETE FROM user_suit_copy;' A. m3 h1 [0 t
  80. DELETE FROM user_suit_secede;
    ' M% }7 U, p* Y! e. B- P+ [2 i3 c; C
  81. GO
复制代码
% S( H  U" H& c4 K# P- x6 l

' H! I7 E. y" Y( J5 M% o& E
商业服务端 登录器 网站 出售

8

主题

225

回帖

741

积分

高级会员

积分
741
金钱
408
贡献
95
注册时间
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

主题

118

回帖

343

积分

中级会员

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

0

主题

63

回帖

1038

积分

高级会员

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

131

主题

151

回帖

2521

积分

管理员

积分
2521
金钱
896
贡献
1343
注册时间
2023-11-3
QQ
 楼主| 发表于 2024-10-16 16:39:16 | 显示全部楼层
大张 发表于 2024-10-16 14:566 G% Q. i+ B' a1 W+ f' Q0 L+ T; ^
语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

' }% c0 ^# b3 a: Z% c帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2024-12-4 02:07 , Processed in 0.052530 second(s), 21 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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