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

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

[复制链接]

136

主题

189

回帖

3845

积分

管理员

积分
3845
金钱
1345
贡献
2175
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式
  1. ) R3 |9 {- v. q  P+ Q% O
  2. % `$ Q. u# ?9 ]: ^' w% d
  3. use account;
    # ], `0 i' G+ x: y" u9 \' r0 O
  4. DELETE FROM C_IP_BAN;
    ( m7 S( S& Y2 O. G9 W9 ]
  5. DELETE FROM C_IP_PERMIT;
    $ |3 C8 {0 ^7 i
  6. DELETE FROM C_IP_PWD;4 ~  y3 @8 R- u% }  \& Y; C5 n# z
  7. DELETE FROM C_LOGINIPBLOCK_LOG;
    % i  M* n2 P7 j3 V6 a, w2 {$ n
  8. DELETE FROM C_SEQUENCE;
    6 N3 K) q- b, p# L
  9. DELETE FROM CP_USER_PROFILE;9 ]1 d6 Y3 V; W
  10. DELETE FROM MB_USR_IP;+ \  C# ]  V( n5 J: T* i, S! c
  11. DELETE FROM MB_USR_PUN;. z) [0 G! {6 S1 K, A
  12. DELETE FROM Tbl_user;4 `. \4 v% e! |+ s% U+ U5 t
  13. DELETE FROM USER_CONNLOG_KEY;; Y* U+ ~( K- P' t! L2 H& z3 C1 ~
  14. DELETE FROM USER_PROFILE;
    + U! y9 _5 a. j1 d
  15. GO
    8 u" Y3 s: s/ j
  16. use billing;4 ]) U, K7 ~9 D+ q" X# p% V1 @
  17. DELETE FROM bl_error_log;% I& i$ g$ V$ E" _
  18. DELETE FROM c_sequence;0 |: _/ A4 s6 I! v/ q! Q! @
  19. DELETE FROM dba_online_daily;* S+ e1 b  G% b+ Q; u* f! \
  20. DELETE FROM dba_online_daily_notok;" t, c2 h! D2 \5 M7 B
  21. DELETE FROM Tbl_KeepId;  O% K+ h# v% @  N  m2 O
  22. DELETE FROM user_account;8 q/ K- `% G. ]8 L  j6 C
  23. DELETE FROM user_account;
    # n, A8 p$ ^+ U% ~$ ~
  24. DELETE FROM user_charge_log;
    : O! [: Y; j0 ]; ~- k/ J
  25. DELETE FROM user_everyday_use_info;
    " T$ j' t0 O2 |
  26. DELETE FROM user_give_log;
    . h6 P. [( V% b" Y! p
  27. DELETE FROM user_use_log;  r+ m4 z% i$ U) i+ ]. t
  28. DELETE FROM user_use_log_bk;
    ( C  m, @6 J8 U  Q" {: g
  29. GO
    " _1 d; d4 L: O
  30. use cash;2 n* A8 V4 X9 f, B$ Y8 W
  31. DELETE FROM bl_error_log;4 J1 `+ A1 a' ~/ A5 O  |! ^
  32. DELETE FROM Tbl_Cash_zj;% T$ c1 I- v% p, g" N# s
  33. DELETE FROM user_cash;8 H  L8 ~. E  }" ~
  34. DELETE FROM user_charge_log;
    . O- p  p/ d3 c; w) z6 i4 E! h
  35. DELETE FROM user_use_log;
    : t; t$ T2 |* u2 x* J' ?4 C
  36. GO( ]2 F8 m3 }' S" W+ A3 C+ C6 N2 o
  37. use character;
    5 s- P* E, X& ?+ i0 j
  38. DELETE FROM C_EVENT_ITEM_OP' c3 @: M6 V. J* E5 B
  39. DELETE FROM c_restword;0 L. |( c* |" t& X
  40. DELETE FROM char_connlog;% z5 l# K8 c  B) J& X: I0 m7 k3 p
  41. DELETE FROM CHAR_CONNLOG_KEY;+ k. G3 n' I7 q) y5 B+ M
  42. DELETE FROM DEL_USER_CHAR_LIST;6 A: s% V6 b' _9 X/ E7 x
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;
    - F; f: c0 ?" G  e
  44. DELETE FROM GM_ITEM_MST;: M2 R* K" m) m0 A" A
  45. DELETE FROM GUILD_CHAR_INFO;3 i# a9 D# E0 O* T# I* @6 j9 U" h9 ?
  46. DELETE FROM GUILD_INFO# y3 B  \7 b" e# @- n
  47. WHERE guild_code NOT LIKE 'MASTERCODE';, U' \# d: f( W! Z+ d: D
  48. DELETE FROM GUILD_INFO_SECEDE;* \$ f$ D& D4 Y7 K- E2 j: g7 K
  49. DELETE FROM GUILD_PEERAGE
    # g  ^0 T' e4 E/ X! x
  50. WHERE guild_code NOT LIKE 'MASTERCODE';) F. O) a4 t  [4 s/ e& l/ {4 t
  51. DELETE FROM MSSNGR_CHAR_LIST;1 e' G% Y) r* K7 S, `
  52. DELETE FROM SIEGE_INFO;6 c9 A( G$ l, U& F6 d
  53. DELETE FROM SIEGE_RESULT_LOG;3 t: w$ e/ Z0 Q. d4 n
  54. DELETE FROM user_bag2 V" q! S& R8 R1 i
  55. WHERE character_no NOT LIKE 'DEKARON_000001';
    - H; [) z9 T8 w0 u  e
  56. DELETE FROM user_bag_copy;) C0 u% B: ~/ ~: S
  57. DELETE FROM user_bag_secede;
    , a& v" H* t* \+ I- s" L
  58. DELETE FROM user_character3 t1 A5 R  f+ _( a; d
  59. WHERE character_no NOT LIKE 'DEKARON_000001';" t; S5 f$ i7 `% d
  60. DELETE FROM user_character_secede;
    % L9 A, Y5 R! G
  61. DELETE FROM USER_POSTBOX;4 r8 E3 c9 [* I! j* i' E) Y
  62. DELETE FROM USER_POSTBOX_SECEDE;
    , s2 R, D/ l. O8 b  @) O
  63. DELETE FROM User_Quest_Doing;
    & P2 s- N  K3 |) e# N& }  k
  64. DELETE FROM user_quest_doing_secede;
    6 L% U9 J- X8 l# L9 N7 \( |
  65. DELETE FROM User_Quest_Done;
    ( z$ h1 A) n0 z% l0 U# b
  66. DELETE FROM user_quest_done_secede;
    ' y# |, J( B5 `( h; m7 U9 @) U& M- k
  67. DELETE FROM user_skill
    # l, [# ]9 R& O5 l+ }- y
  68. WHERE character_no NOT LIKE 'DEKARON_000001';
    6 W2 S0 u# y3 i, l. v; i" G
  69. DELETE FROM user_skill_secede! z$ z3 H6 {9 r
  70. DELETE FROM user_slot6 Q5 @' ]! F( J- P3 e2 j
  71. WHERE character_no NOT LIKE 'DEKARON_000001';
    9 g( n% M- l& F1 v7 x: Y
  72. DELETE FROM user_storage;7 i, J# h1 n, \' B
  73. DELETE FROM user_storage_copy;
    % s* o1 e2 U2 F$ D" s- n& g: G
  74. DELETE FROM USER_STORE;5 d( v6 C! Y/ n8 u  A' ]! S- D
  75. DELETE FROM USER_STORE_copy;  {! v) T( Q3 o0 w4 M
  76. DELETE FROM USER_STORE_SECEDE;# M9 k  `$ E1 V% R
  77. DELETE FROM user_suit
    1 q+ I) p) I% r# m
  78. WHERE character_no NOT LIKE 'DEKARON_000001';- I" w% I1 R  l) r
  79. DELETE FROM user_suit_copy;
    % i; N5 _- S( I
  80. DELETE FROM user_suit_secede;( h2 {, @% L0 d+ ~
  81. GO
复制代码
  v' e: m2 H/ ~, c7 ?

# F1 w& b2 F1 J# e
商业服务端 登录器 网站 出售

8

主题

231

回帖

863

积分

高级会员

积分
863
金钱
528
贡献
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

主题

128

回帖

577

积分

中级会员

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

0

主题

65

回帖

1661

积分

金牌会员

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

136

主题

189

回帖

3845

积分

管理员

积分
3845
金钱
1345
贡献
2175
注册时间
2023-11-3
QQ
 楼主| 发表于 2024-10-16 16:39:16 | 显示全部楼层
大张 发表于 2024-10-16 14:56
3 H4 Z) g5 E1 @- Q& R; W  p语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

6 W# g( o- ]8 D8 X$ A! H帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2025-4-5 04:00 , Processed in 0.051090 second(s), 22 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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