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

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

[复制链接]

136

主题

189

回帖

3845

积分

管理员

积分
3845
金钱
1345
贡献
2175
注册时间
2023-11-3
QQ
发表于 2024-1-28 20:00:01 | 显示全部楼层 |阅读模式
  1. ! y: @9 f( D% e  G. M2 {/ _
  2. 1 N0 M) ]" ^/ D; _  |$ ]* e% H8 N
  3. use account;
    4 a3 r% H4 ^+ ~) V
  4. DELETE FROM C_IP_BAN;
    - N9 {! A3 w& b+ [/ O7 q- t
  5. DELETE FROM C_IP_PERMIT;
    1 L2 c4 M6 T5 H3 A0 G- a) {
  6. DELETE FROM C_IP_PWD;
    ( o6 {7 M/ T% x" o" k/ S, |
  7. DELETE FROM C_LOGINIPBLOCK_LOG;
    . F, g4 a5 S# a
  8. DELETE FROM C_SEQUENCE;6 U( a8 b2 a. k
  9. DELETE FROM CP_USER_PROFILE;
    ; K& |$ p) L" A1 c+ L) v2 G3 i% V
  10. DELETE FROM MB_USR_IP;; n5 E9 Q# O  L; _7 f
  11. DELETE FROM MB_USR_PUN;
    4 [" S7 ]9 p; \% ]' j. {
  12. DELETE FROM Tbl_user;
    6 P3 y+ @- S7 y. B
  13. DELETE FROM USER_CONNLOG_KEY;( m- r+ X4 P, a4 O0 t1 y$ G
  14. DELETE FROM USER_PROFILE;4 V( V' A" w) e  Q. G, O7 q
  15. GO
    8 R& B/ j, U- G6 n; V2 ~) L
  16. use billing;
      r; t8 U' ]3 D) W( s6 c: U+ V
  17. DELETE FROM bl_error_log;0 b* D/ L" S! n% Z( A6 F
  18. DELETE FROM c_sequence;
    0 H* B0 G  U  l. f7 w/ r) W
  19. DELETE FROM dba_online_daily;
    5 P$ U. C0 L! W
  20. DELETE FROM dba_online_daily_notok;, r( g! @' X' N8 ?1 _9 ~- v' n
  21. DELETE FROM Tbl_KeepId;& O9 G* J2 L# _4 j1 C
  22. DELETE FROM user_account;0 o: r! ]) s: h+ E
  23. DELETE FROM user_account;
    . |; K: E0 ^% D3 S6 o) F/ d% D) t
  24. DELETE FROM user_charge_log;: T$ J4 z  x+ _1 w2 |+ [5 J4 a
  25. DELETE FROM user_everyday_use_info;
    5 O$ @% w5 \3 ~9 }# q% ~
  26. DELETE FROM user_give_log;
    - k! Z4 _, d. ?* w* R
  27. DELETE FROM user_use_log;" u3 t) s7 g( X; M7 x
  28. DELETE FROM user_use_log_bk;
    7 p5 @! n$ D  K. F
  29. GO5 k- W3 \: _6 p$ @' L
  30. use cash;. z. }3 R  U% L% Y, ^  z  P
  31. DELETE FROM bl_error_log;- s8 P& {! ]8 h( c  r
  32. DELETE FROM Tbl_Cash_zj;
    8 k( j- ?* Q  i) z, j# }3 e
  33. DELETE FROM user_cash;
    2 R2 H) H6 U9 _
  34. DELETE FROM user_charge_log;
    % [& v( [! j, n; G
  35. DELETE FROM user_use_log;5 T: S9 w$ [3 W+ ^, E
  36. GO# v5 _; \- d* B$ R5 Y1 }: P* y
  37. use character;, U) P  K% q  a1 o; s6 T
  38. DELETE FROM C_EVENT_ITEM_OP
    ! I+ P* Y9 G( x
  39. DELETE FROM c_restword;/ F9 M+ n0 ~  Y. M
  40. DELETE FROM char_connlog;6 V1 ?$ F' t2 a6 D% O
  41. DELETE FROM CHAR_CONNLOG_KEY;
    ! i: r4 c) U( ?! ^; g6 E: Q5 ?
  42. DELETE FROM DEL_USER_CHAR_LIST;5 i: e+ t4 L  ?. {; w' I
  43. DELETE FROM DEL_USER_CHAR_LIST_SECEDE;
    4 l" O# J; u" R- q2 }% e5 ]) c1 C- d# J
  44. DELETE FROM GM_ITEM_MST;
    $ G! B) f" M  T! n! `
  45. DELETE FROM GUILD_CHAR_INFO;& R; l; B- U3 N0 }  |2 b3 K+ Y
  46. DELETE FROM GUILD_INFO
    ( o/ j1 [5 m1 B7 i8 D
  47. WHERE guild_code NOT LIKE 'MASTERCODE';+ z5 d2 e8 }6 y( t" T( R! B1 J& M
  48. DELETE FROM GUILD_INFO_SECEDE;2 E+ A0 q6 _# P- D5 v9 [( }9 |/ v6 G
  49. DELETE FROM GUILD_PEERAGE
    % [; A" G  L0 H4 c5 ]! y
  50. WHERE guild_code NOT LIKE 'MASTERCODE';- `5 @. |9 g9 T3 }4 p9 f2 Q
  51. DELETE FROM MSSNGR_CHAR_LIST;, T3 q7 T6 p- i. F# _* y) a! v5 e
  52. DELETE FROM SIEGE_INFO;
      S3 q! z  Z9 W6 D7 m
  53. DELETE FROM SIEGE_RESULT_LOG;
    $ L3 f, {. P# X8 R4 u8 D9 g  n( }
  54. DELETE FROM user_bag
    + y+ V% ^( P0 P& t
  55. WHERE character_no NOT LIKE 'DEKARON_000001';8 x* I) B. N5 L" b3 d8 m
  56. DELETE FROM user_bag_copy;. S, r! |  i/ i
  57. DELETE FROM user_bag_secede;
    # A4 i' ^' ]. R7 J+ ^$ Q- H
  58. DELETE FROM user_character+ N0 E' v0 `6 Z& D
  59. WHERE character_no NOT LIKE 'DEKARON_000001';
    / Q! r" ~& z. q4 U( i% L3 {
  60. DELETE FROM user_character_secede;
    5 x9 K2 t" ?* a% E* F" ]( M
  61. DELETE FROM USER_POSTBOX;
    ( R  |7 R2 _+ v3 ?( `
  62. DELETE FROM USER_POSTBOX_SECEDE;1 ?, u+ t% p; w& A4 b9 P
  63. DELETE FROM User_Quest_Doing;3 ], {7 E2 S% }, ~6 E1 k2 N' L0 P
  64. DELETE FROM user_quest_doing_secede;
    " t. x1 A! M: B4 ?
  65. DELETE FROM User_Quest_Done;
    8 w7 C; P0 y) W7 E2 z
  66. DELETE FROM user_quest_done_secede;+ b/ t" A2 S8 C. Y$ X8 Q
  67. DELETE FROM user_skill
    0 _& q/ P, f& g7 C3 N$ _
  68. WHERE character_no NOT LIKE 'DEKARON_000001';
    , F2 L* G  T6 l/ h$ J5 n
  69. DELETE FROM user_skill_secede  W9 G1 Z5 ~( D2 M
  70. DELETE FROM user_slot: e3 O3 D- d2 c
  71. WHERE character_no NOT LIKE 'DEKARON_000001';
    ( \9 C% J& n: s1 P
  72. DELETE FROM user_storage;
    6 s6 A% y7 p5 [1 r3 ]
  73. DELETE FROM user_storage_copy;/ a  m7 {; p& X% }! {
  74. DELETE FROM USER_STORE;
    8 M, S) M% g) E8 w, d1 M! _; N
  75. DELETE FROM USER_STORE_copy;1 u7 G, l: V) Y  s. v
  76. DELETE FROM USER_STORE_SECEDE;7 [/ }1 u: l6 K! u. w  ?
  77. DELETE FROM user_suit
    # p, g# V; K: o
  78. WHERE character_no NOT LIKE 'DEKARON_000001';: ?) o/ ?* t( e/ X# P
  79. DELETE FROM user_suit_copy;7 H+ `9 ]4 m  }9 N* X  R, M
  80. DELETE FROM user_suit_secede;+ ~8 T9 G6 x9 b5 E' U
  81. GO
复制代码

! a: [) Y: P* L( E
& f3 g7 I* A* ^/ f
商业服务端 登录器 网站 出售

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

回帖

574

积分

中级会员

积分
574
金钱
343
贡献
103
注册时间
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* t3 T1 h# y+ o7 C2 I/ d
语句 出现 乱码 请  改正一下 哦  谢谢 了 ~~~~~~~~~~~~~~!

3 [5 j. Y0 j: Y$ f帖子里面有复制功能
商业服务端 登录器 网站 出售
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|EGameol

GMT+8, 2025-4-4 20:40 , Processed in 0.070724 second(s), 21 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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