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

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

[复制链接]

128

主题

142

回帖

2403

积分

管理员

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

  1. % F8 c5 w( n! R" g# t

  2. . F, L; |* ~8 F
  3. use account;& t! m9 x3 I% z3 U
  4. DELETE FROM C_IP_BAN;
    / [6 w7 w$ G7 V: d1 j- D
  5. DELETE FROM C_IP_PERMIT;2 \- f. Q/ x5 Y- P# N
  6. DELETE FROM C_IP_PWD;
    - ]* J, }' Q& _7 `% ?6 f4 h9 k
  7. DELETE FROM C_LOGINIPBLOCK_LOG;
    % t. J0 o! Z6 f6 m1 t- [9 ~- ~6 M
  8. DELETE FROM C_SEQUENCE;
    " g6 Y/ b0 t. t$ t" R  d
  9. DELETE FROM CP_USER_PROFILE;
    " @0 J/ V" O& z$ Y) s: y
  10. DELETE FROM MB_USR_IP;5 P1 b+ ?3 O* Q6 v
  11. DELETE FROM MB_USR_PUN;4 E, U( Y. `+ D4 J
  12. DELETE FROM Tbl_user;: Q- ?7 v/ F1 T/ z; ~$ t+ b' S
  13. DELETE FROM USER_CONNLOG_KEY;  b  l+ _( l+ Q2 G' ~, Z
  14. DELETE FROM USER_PROFILE;4 |3 U3 \. R- b9 m
  15. GO; |5 V: v7 Y% X* u
  16. use billing;
    $ j: j- P+ y& t) V% u. i' \
  17. DELETE FROM bl_error_log;
      c2 {9 i% v9 ^* u. f
  18. DELETE FROM c_sequence;
    - f. k. W. \! t# _( q! r' \
  19. DELETE FROM dba_online_daily;' u$ B" b8 T8 E
  20. DELETE FROM dba_online_daily_notok;; `4 o0 U/ H. F% ~/ {3 v2 q
  21. DELETE FROM Tbl_KeepId;$ N% D' G6 R! d$ |- I. A: X
  22. DELETE FROM user_account;  f9 D* @2 M8 b
  23. DELETE FROM user_account;
    - g% `! ~& i9 q& Q5 S% u
  24. DELETE FROM user_charge_log;
    2 C$ c" \, {  `
  25. DELETE FROM user_everyday_use_info;7 g& V4 ?2 s: ]% c
  26. DELETE FROM user_give_log;" ?  r1 V0 A5 l& X6 `, T1 k
  27. DELETE FROM user_use_log;
    . }, a. W5 \4 b
  28. DELETE FROM user_use_log_bk;+ b4 ^9 c3 `7 o3 c, ~* b! e
  29. GO
    6 {- D) d) g3 C; S
  30. use cash;. j/ ?% J  I+ o5 a# l: R
  31. DELETE FROM bl_error_log;
    , `+ y! j2 Q  ~7 U& E1 P. D( ?
  32. DELETE FROM Tbl_Cash_zj;; `% Y9 h- a$ q7 s4 g' T3 H
  33. DELETE FROM user_cash;) X0 p' R! C, y8 b' d) ]6 ]
  34. DELETE FROM user_charge_log;+ F! v7 q' M! W  f) {1 ^
  35. DELETE FROM user_use_log;# M# T- {; G( U
  36. GO# s/ G+ e5 r/ W- R% }# z
  37. use character;
    0 g1 Z0 r6 H7 |% w5 A
  38. DELETE FROM C_EVENT_ITEM_OP% ?+ D' Y) G; b7 a
  39. DELETE FROM c_restword;) C, g7 ?' C) z' P8 Z
  40. DELETE FROM char_connlog;) H. k" A1 E- u0 b  l4 b
  41. DELETE FROM CHAR_CONNLOG_KEY;0 F% G8 G9 B1 q# [# _" `& m4 d
  42. DELETE FROM DEL_USER_CHAR_LIST;! ^4 ?) [* M: e3 X& [
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;
    : w9 f7 `: i4 o; `; ?
  44. DELETE FROM GM_ITEM_MST;
    ! i- s! s8 c: ?9 m0 j( x$ s
  45. DELETE FROM GUILD_CHAR_INFO;
    : }4 \$ t6 O. z/ _
  46. DELETE FROM GUILD_INFO) q& S+ i5 v% Y6 _; z
  47. WHERE guild_code NOT LIKE 'MASTERCODE';+ \9 s) C! x0 B8 i7 N  s* }7 p- b% K
  48. DELETE FROM GUILD_INFO_SECEDE;; |$ R  P- P: ^# Q7 b- `7 _
  49. DELETE FROM GUILD_PEERAGE
    + {  T8 d4 a# H8 u3 ~
  50. WHERE guild_code NOT LIKE 'MASTERCODE';: L, P7 n* M$ X$ X6 J1 D. _
  51. DELETE FROM MSSNGR_CHAR_LIST;- Q* j: P% R$ T
  52. DELETE FROM SIEGE_INFO;
    0 L6 u9 {1 R$ H% d: `
  53. DELETE FROM SIEGE_RESULT_LOG;0 \6 q. {! l* T; T: \1 i
  54. DELETE FROM user_bag. t: y6 o  S% v. x; _
  55. WHERE character_no NOT LIKE 'DEKARON_000001';
    : E3 |0 `: c- Q, o' c: J
  56. DELETE FROM user_bag_copy;
    2 r+ \. c) v& A" D3 c8 [' j! g
  57. DELETE FROM user_bag_secede;
    - I9 E. J& {: R" e
  58. DELETE FROM user_character
    / r' r: }0 B3 O
  59. WHERE character_no NOT LIKE 'DEKARON_000001';
    1 ~$ |) P, j6 I1 y  b
  60. DELETE FROM user_character_secede;/ F6 Q9 k6 w; O
  61. DELETE FROM USER_POSTBOX;; k+ y3 }2 f& W$ t% V% u, Z
  62. DELETE FROM USER_POSTBOX_SECEDE;
    1 i$ s4 E$ J* [6 R3 o' _
  63. DELETE FROM User_Quest_Doing;5 Y0 O2 p1 e4 o* s6 O, b: S
  64. DELETE FROM user_quest_doing_secede;- L0 }9 [  D( f/ Y' H% Q
  65. DELETE FROM User_Quest_Done;
    / R+ D' [, `: S+ W/ T% K
  66. DELETE FROM user_quest_done_secede;+ N: Z1 ~8 \* T( \
  67. DELETE FROM user_skill* \0 f! D$ J$ S+ J/ Z
  68. WHERE character_no NOT LIKE 'DEKARON_000001';+ |6 d* [5 g4 b. Q. \) q/ \
  69. DELETE FROM user_skill_secede
    / Y' x3 C% ?0 j$ v
  70. DELETE FROM user_slot
    ( Q' C& U" C& C: {( [
  71. WHERE character_no NOT LIKE 'DEKARON_000001';
    7 S# }7 L, |" u9 K8 d( Q! l5 P" w: l
  72. DELETE FROM user_storage;
    & F  H% c& ]6 f% ~0 N1 R  i
  73. DELETE FROM user_storage_copy;
    8 {/ J4 J) K/ M, ?
  74. DELETE FROM USER_STORE;8 q) B3 u3 r- l9 i4 i1 q
  75. DELETE FROM USER_STORE_copy;
    $ q5 }2 K/ d) H" Y, _
  76. DELETE FROM USER_STORE_SECEDE;
    4 m2 [4 ^: @9 Z0 [3 w% V; C
  77. DELETE FROM user_suit
    7 R( O# g# Q( h3 K- E$ d
  78. WHERE character_no NOT LIKE 'DEKARON_000001';; U9 J& A) x! e) T! L8 V% ^
  79. DELETE FROM user_suit_copy;
    4 ^: f- y* b& v# _' k
  80. DELETE FROM user_suit_secede;$ U, ^' {1 E+ b8 f+ y' J
  81. GO
复制代码

& a+ O+ p, k8 b% j. N& e7 x7 X0 _8 q3 L) O2 L. r7 S
商业服务端 登录器 网站 出售

8

主题

223

回帖

732

积分

高级会员

积分
732
金钱
400
贡献
96
注册时间
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

主题

117

回帖

320

积分

中级会员

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

0

主题

63

回帖

1010

积分

高级会员

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

128

主题

142

回帖

2403

积分

管理员

积分
2403
金钱
861
贡献
1272
注册时间
2023-11-3
QQ
 楼主| 发表于 2024-10-16 16:39:16 | 显示全部楼层
大张 发表于 2024-10-16 14:56+ ^6 M5 A) J" n$ z% H
语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!
! l2 V1 Z1 z: e) G' H" M2 }: b: v
帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2024-11-23 16:15 , Processed in 0.070340 second(s), 22 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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