搜索
 找回密码
 加入

!如何删除数据库里的所有账号和角色资料?

523194594 2011-9-16 10:43:55 2199
想把数据库的号都清空,  但又不知道怎么删除!  有一些语句 又不知怎么用。
truncate table account_char
go
truncate table currentuser
go
truncate table deleted_userdata
go
truncate table knights
go
truncate table knights_rating
go
truncate table knights_user
go
truncate table tb_user
go
truncate table userdata
go
truncate table USERDATA_SKILLSHORTCUT
go
truncate table KNIGHTS_ALLIANCE
go




truncate table BK_FRI_USERDATA
go
truncate table BK_MON_USERDATA
go
truncate table BK_SAT_USERDATA
go
truncate table BK_SUN_USERDATA
go
truncate table BK_THU_USERDATA
go
truncate table BK_TUE_USERDATA
go
truncate table BLOCKED_USERDATA
go
truncate table USER_EDITOR_ITEM
go
truncate table PREMIUM_SERVICE
go




truncate table WAREHOUSE
go
truncate table ELMO_RANK
go
truncate table KARUS_RANK
go
truncate table USER_SAVED_MAGIC
go
truncate table HACKTOOL_USERLOG
go
truncate table HERO_USER
go
truncate table DUPE_CHECK
go
truncate table LEVEL_CHART
go
truncate table LEVEL_CHART_WED
go
这些有用不? 怎么用? 谢告诉下。。。

5 回复

523194594
2011-7-28 13:37:57
楼主
点击查看详情
没有人会吗?
leonjaykai
2011-7-29 16:59:14
貼在sql裡去執行
韩昌快
2011-9-7 19:27:02
提示: 作者被禁止或删除 内容自动屏蔽
talkweb
2011-9-16 10:43:55
这都不会。
高级模式
游客