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

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

[复制链接]

131

主题

151

回帖

2521

积分

管理员

积分
2521
金钱
896
贡献
1343
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式
  1. . l- l" @, G; L0 t( u

  2. ) j8 @4 L& {, ?
  3. use account;
    . r% E0 L! ~8 F
  4. DELETE FROM C_IP_BAN;2 t2 b( @7 P* q6 M/ G# Q( o5 }
  5. DELETE FROM C_IP_PERMIT;3 O' }6 m) y& m$ O( H5 Q- O
  6. DELETE FROM C_IP_PWD;  g1 g) Q# R$ D% R0 n0 c, I! @  G
  7. DELETE FROM C_LOGINIPBLOCK_LOG;: x+ l" U$ h. R7 u% S
  8. DELETE FROM C_SEQUENCE;" [& i& Z' p' X
  9. DELETE FROM CP_USER_PROFILE;7 E* c/ k' A$ t
  10. DELETE FROM MB_USR_IP;- s8 `7 m6 y. I1 H' r2 v
  11. DELETE FROM MB_USR_PUN;
    , i5 l, r/ U; p6 C+ `6 O& |
  12. DELETE FROM Tbl_user;$ y0 N& ?: _5 G
  13. DELETE FROM USER_CONNLOG_KEY;6 C8 s$ @- X6 ^6 t1 \4 P7 f  C
  14. DELETE FROM USER_PROFILE;3 G6 J9 z: {6 H: a8 A7 E. m" u% q. Q
  15. GO+ w$ h) z6 M% J$ ]0 a* ]
  16. use billing;# v, N! R+ `+ m8 _+ I$ [  c' I  y
  17. DELETE FROM bl_error_log;1 @! T. l9 O6 n3 G1 q3 \
  18. DELETE FROM c_sequence;8 P& u8 z: ^( ~4 J
  19. DELETE FROM dba_online_daily;+ A. p8 S' X0 Z+ A5 _
  20. DELETE FROM dba_online_daily_notok;# l/ X# z- _! s
  21. DELETE FROM Tbl_KeepId;/ q* z1 g# n( F6 \
  22. DELETE FROM user_account;
    ! G7 B) W' z( v0 _0 I
  23. DELETE FROM user_account;* I9 ]- C3 w  r; N$ P
  24. DELETE FROM user_charge_log;1 L( a- N! @5 N; L9 X0 b( H
  25. DELETE FROM user_everyday_use_info;- h! u& n9 V3 }; O9 I
  26. DELETE FROM user_give_log;$ Z! A; m5 w; D* K/ E
  27. DELETE FROM user_use_log;5 N" u9 T* {$ m/ Q+ \# ]- g
  28. DELETE FROM user_use_log_bk;
    2 B* R/ u: y/ e& g! \5 v
  29. GO
    ) A% h; ~; T4 j3 ]% ~7 p
  30. use cash;+ L7 _  i  ?: Q' c% ?
  31. DELETE FROM bl_error_log;
    9 R+ D1 E" m# C; V) c  K
  32. DELETE FROM Tbl_Cash_zj;. Z! T, s) r& k4 }! E* c$ g
  33. DELETE FROM user_cash;
    : r" |, o0 Y. F6 z7 I$ a
  34. DELETE FROM user_charge_log;
    5 \$ _& c. C% X& M
  35. DELETE FROM user_use_log;
    8 c% \4 `; O. `& L  L+ }
  36. GO
    ' q1 O6 J8 O* G/ {7 F6 P
  37. use character;* r4 }& H3 c5 Z4 V9 s$ _, @& C
  38. DELETE FROM C_EVENT_ITEM_OP" f9 y1 f, b, F/ V8 R" T+ C) c- U
  39. DELETE FROM c_restword;
    + ~. C( c% p) T' W  m
  40. DELETE FROM char_connlog;
    5 N1 G; v4 S: w2 a1 |) j5 `1 n2 l1 X
  41. DELETE FROM CHAR_CONNLOG_KEY;
    7 T8 V8 T( R2 t- H9 j+ k
  42. DELETE FROM DEL_USER_CHAR_LIST;
    # G: x" t6 v* D! A# O$ R% t# V
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;! `/ ?( b  G, L
  44. DELETE FROM GM_ITEM_MST;
    5 |; p/ K5 O6 y8 n1 @* q
  45. DELETE FROM GUILD_CHAR_INFO;, Z2 T" a. N# Q1 Y" V. T' o$ y  A/ a
  46. DELETE FROM GUILD_INFO* F( n9 \$ N. Z% \  f5 o. c8 t/ n
  47. WHERE guild_code NOT LIKE 'MASTERCODE';/ ^. p" r% @1 B' t( \* }; x8 B% f
  48. DELETE FROM GUILD_INFO_SECEDE;
    # ~) H4 e1 R8 a9 r/ k( u- ^+ s9 A
  49. DELETE FROM GUILD_PEERAGE: l0 d. r# i$ L0 q6 B$ ~$ Z
  50. WHERE guild_code NOT LIKE 'MASTERCODE';( N! o, L1 q- b! {! J. i2 W- w
  51. DELETE FROM MSSNGR_CHAR_LIST;" ?2 r$ U0 ^: p: H: V3 i1 L, q: P
  52. DELETE FROM SIEGE_INFO;
    * C" y; I! O- O
  53. DELETE FROM SIEGE_RESULT_LOG;
    0 A7 W1 ~( i& e; l& {/ P
  54. DELETE FROM user_bag5 u# V8 q0 ~( k/ T/ d0 Z8 Q
  55. WHERE character_no NOT LIKE 'DEKARON_000001';3 x1 n4 @0 G  K) _; F
  56. DELETE FROM user_bag_copy;7 a# J& P, Q/ z( z/ {. @) s- m
  57. DELETE FROM user_bag_secede;/ S. @; B$ R2 F  \- j& _
  58. DELETE FROM user_character* X1 D" E$ t' u0 T0 b# ~# A
  59. WHERE character_no NOT LIKE 'DEKARON_000001';! l6 f' I. Q0 ~
  60. DELETE FROM user_character_secede;
    ) K* o# s  S" u; o% B: z
  61. DELETE FROM USER_POSTBOX;' O) l  b8 P0 U. g# B! Z
  62. DELETE FROM USER_POSTBOX_SECEDE;" J7 I3 \! ~9 \0 p7 l5 o) G* m
  63. DELETE FROM User_Quest_Doing;
    ; I0 X5 g  Z/ r# |/ E! J! X$ g
  64. DELETE FROM user_quest_doing_secede;
    % M( }+ J3 u- z  s  o7 a
  65. DELETE FROM User_Quest_Done;
      \* Y" n, t) i- y3 x" x
  66. DELETE FROM user_quest_done_secede;
    * q' i! [$ I2 F& y
  67. DELETE FROM user_skill9 ~+ J& B! ~% y- H) ^4 H3 N7 T2 q0 V
  68. WHERE character_no NOT LIKE 'DEKARON_000001';
    # @9 Q- r9 ]$ B7 W5 F" y0 \
  69. DELETE FROM user_skill_secede. Z) ]) B& p! q: m8 A8 v! w: s
  70. DELETE FROM user_slot. ^% K) J. {, W
  71. WHERE character_no NOT LIKE 'DEKARON_000001';
      f: `8 i7 I1 `3 w9 w) x
  72. DELETE FROM user_storage;, i# H' b$ @0 m# x7 T
  73. DELETE FROM user_storage_copy;
    7 c, j/ |; H9 D. Q" }$ O* I
  74. DELETE FROM USER_STORE;/ V" @. N7 O  O  [9 @9 [  s
  75. DELETE FROM USER_STORE_copy;4 f( M" Z/ R2 ^1 ]
  76. DELETE FROM USER_STORE_SECEDE;
    2 }- i% A7 D1 I* h; Z
  77. DELETE FROM user_suit) R3 k5 ~5 S, {9 O( B- b0 m$ Y
  78. WHERE character_no NOT LIKE 'DEKARON_000001';5 i9 L2 V4 ]: V& e2 Z2 q* u5 t
  79. DELETE FROM user_suit_copy;
    5 t4 Y# P, n- q. G; L
  80. DELETE FROM user_suit_secede;2 @# S. s  q% n& O5 g$ Y
  81. GO
复制代码
* E* z2 t  m2 J" e% c4 w) I6 _
$ N, H1 S- R$ D* t9 S( l
商业服务端 登录器 网站 出售

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:56
- l6 d; y: S6 ]语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!
: p" ^# I& s# n1 p
帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2024-12-4 01:36 , Processed in 0.057203 second(s), 21 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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