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

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

[复制链接]

131

主题

151

回帖

2521

积分

管理员

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

  1. , m( j, z  z3 Y

  2. ; W5 A, o3 h: P
  3. use account;
      O( T: x: K: ?+ F2 Z# A7 I
  4. DELETE FROM C_IP_BAN;& t& L/ f/ j/ d3 s& W
  5. DELETE FROM C_IP_PERMIT;; A' o0 W: d/ x
  6. DELETE FROM C_IP_PWD;+ Y2 G+ X' S; s
  7. DELETE FROM C_LOGINIPBLOCK_LOG;8 C( Q* _& N: [! i1 R
  8. DELETE FROM C_SEQUENCE;1 A  \6 v( k6 ^% P. [2 O5 i
  9. DELETE FROM CP_USER_PROFILE;
    ) \0 x9 z* X6 j) }" D# }3 U
  10. DELETE FROM MB_USR_IP;
    1 P7 G( Z0 V0 n$ i( b. M9 B) r7 g; c
  11. DELETE FROM MB_USR_PUN;
    % @/ E- ]% \3 X# A& q9 U
  12. DELETE FROM Tbl_user;
    : b* u5 R8 b& F  |
  13. DELETE FROM USER_CONNLOG_KEY;
    : u9 U4 J$ J" l7 u/ x, C# I9 e
  14. DELETE FROM USER_PROFILE;! T+ o* Z( \1 E5 w  U2 U- I0 h
  15. GO
    * _/ H( f: F9 }/ d/ ?8 v) d  F3 k
  16. use billing;
    + [* l* Q% H1 L2 x; w
  17. DELETE FROM bl_error_log;
    , }$ d! {# {) C% E0 h) g+ Q
  18. DELETE FROM c_sequence;
    % @; K& U$ |- \5 g9 C
  19. DELETE FROM dba_online_daily;
    - g5 K# j6 l0 _- W5 F# g! |  ~
  20. DELETE FROM dba_online_daily_notok;
    . b8 _( x! A$ e& i/ r. g
  21. DELETE FROM Tbl_KeepId;2 e3 J: [( s! V) i7 ?
  22. DELETE FROM user_account;: j( q/ [+ t6 e+ z. B+ o
  23. DELETE FROM user_account;' ?* k; o7 o+ }0 {$ g/ L& @* W  x
  24. DELETE FROM user_charge_log;7 w7 g8 {( k, d; D. U
  25. DELETE FROM user_everyday_use_info;
    ; Q9 L1 g. z+ e' g3 w2 ^6 E# G3 n
  26. DELETE FROM user_give_log;# G' H0 l4 j0 Q/ E3 t: N" M
  27. DELETE FROM user_use_log;
    " U2 l* V0 F" _# p7 }3 |6 Q1 t
  28. DELETE FROM user_use_log_bk;
    8 Z, [% E2 S& d$ v2 b6 q; I0 }) Z% G
  29. GO
    6 n8 |. ~; W( }6 G3 j4 r* m" O
  30. use cash;
    ' N1 \# X1 q. S8 K! Y( P
  31. DELETE FROM bl_error_log;
    9 c3 N3 [8 I) B  x
  32. DELETE FROM Tbl_Cash_zj;4 z8 b0 _1 E5 p5 N6 ^7 H0 W2 k
  33. DELETE FROM user_cash;5 W5 \6 }+ _+ e7 ]% a* ~* ]- w3 K
  34. DELETE FROM user_charge_log;+ C1 O9 ~+ j1 L" H7 t
  35. DELETE FROM user_use_log;* `' S$ y6 @& v& Q5 s
  36. GO
    * ^  s2 Q' p. r/ T/ d7 r  T4 Q
  37. use character;' l) k" H8 p" Q5 v0 Q3 g# b( m
  38. DELETE FROM C_EVENT_ITEM_OP8 E# l9 {, ^+ p" s( b
  39. DELETE FROM c_restword;, T& Y& a, i4 O$ v0 F
  40. DELETE FROM char_connlog;7 a' U5 Y/ e# p# v  b" e- [7 A
  41. DELETE FROM CHAR_CONNLOG_KEY;  m. S" {! D* z# V8 h
  42. DELETE FROM DEL_USER_CHAR_LIST;# ~5 {: B( ^( ]( k  U( N/ z1 ~3 I
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;, G( @2 p1 [/ x% m7 C# i1 d3 u
  44. DELETE FROM GM_ITEM_MST;! E; F' E4 Y! Q
  45. DELETE FROM GUILD_CHAR_INFO;
    6 t+ B4 P# a  y/ `0 l% I5 M" q
  46. DELETE FROM GUILD_INFO2 q- d2 R" V  O# c# h+ t; E
  47. WHERE guild_code NOT LIKE 'MASTERCODE';
    * _% k* m: ~9 T( Y) C/ Y3 \
  48. DELETE FROM GUILD_INFO_SECEDE;
    " e, i% u5 x( q" a( e
  49. DELETE FROM GUILD_PEERAGE
    & b4 ~$ g3 l( j
  50. WHERE guild_code NOT LIKE 'MASTERCODE';
    3 r) |6 K0 Q* H7 B# C& W( A
  51. DELETE FROM MSSNGR_CHAR_LIST;
    ; ]- N  v; [3 l! y6 t: T
  52. DELETE FROM SIEGE_INFO;% \9 J9 t7 x- L
  53. DELETE FROM SIEGE_RESULT_LOG;3 Z1 e. h3 M) J7 B5 c
  54. DELETE FROM user_bag
    5 b1 j- Q% J1 D1 u! u7 g3 B
  55. WHERE character_no NOT LIKE 'DEKARON_000001';
    5 J! W0 w3 L6 V+ W2 K
  56. DELETE FROM user_bag_copy;* f6 j) D) o& }  i8 Q
  57. DELETE FROM user_bag_secede;
    . x! e/ W1 m7 p/ k
  58. DELETE FROM user_character
    $ o7 L& f( p- R) o
  59. WHERE character_no NOT LIKE 'DEKARON_000001';4 @$ I8 z9 q: L# l
  60. DELETE FROM user_character_secede;9 L+ `. i" c0 |1 o" y
  61. DELETE FROM USER_POSTBOX;: @; x( }/ [1 @- h; f( w
  62. DELETE FROM USER_POSTBOX_SECEDE;, }' b& \6 D/ e- Y
  63. DELETE FROM User_Quest_Doing;5 V  }! o% P# d) M7 q
  64. DELETE FROM user_quest_doing_secede;
      H6 A4 |: R* r1 [
  65. DELETE FROM User_Quest_Done;7 u2 Q9 O0 T' }' C+ [2 \2 d
  66. DELETE FROM user_quest_done_secede;! E  t6 L! O7 T4 y+ W. x" ~$ f) R
  67. DELETE FROM user_skill
    : ?) p3 {" ~6 E: i, h! a
  68. WHERE character_no NOT LIKE 'DEKARON_000001';
    , [) @( L! E, u5 D  f
  69. DELETE FROM user_skill_secede3 i/ n& J5 w  }; H- H
  70. DELETE FROM user_slot1 Z1 A1 h7 f! f! k
  71. WHERE character_no NOT LIKE 'DEKARON_000001';
    0 _5 ^1 H1 R8 j. K) k0 ]
  72. DELETE FROM user_storage;
    ' R4 t% B8 J" B+ ?8 A
  73. DELETE FROM user_storage_copy;
    5 P& n; ^, ?7 F) r
  74. DELETE FROM USER_STORE;% A) Z$ Z+ |: @2 n4 S4 c1 C
  75. DELETE FROM USER_STORE_copy;0 L/ H( i. ?7 Z8 u% F- B. k7 N6 v
  76. DELETE FROM USER_STORE_SECEDE;1 p/ Q& M. _% R# A. C
  77. DELETE FROM user_suit
    & Q8 T; ?9 v$ F
  78. WHERE character_no NOT LIKE 'DEKARON_000001';" x- x' M9 \0 g5 q
  79. DELETE FROM user_suit_copy;
    / h+ \; r# ], r0 r' N! ^6 x8 v8 B
  80. DELETE FROM user_suit_secede;+ y# ?! i. L3 p7 O, a3 ^
  81. GO
复制代码

$ v* Y) D1 O: Y: R2 C% S% m' s& K) }+ f" |1 ?) d
商业服务端 登录器 网站 出售

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# p6 b* U/ O* X6 |9 f% l. L: |7 c
语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

: M  T9 k* b9 m帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2024-12-4 01:26 , Processed in 0.053247 second(s), 22 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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