清理mySql日志的命令,no_log,SHRINKDATABASE

发布:2011-06-30 10:41   点击651次   评论:0

backup log databaseName with no_log
DBCC SHRINKDATABASE(databaseName)

sql="backup log "&KeyDB&" with no_log" Call rs_Dosql(con0,sql)
sql="DBCC SHRINKDATABASE("&KeyDB&")"   Call rs_Dosql(con0,sql)

关于 GitHub 导航 部门 反馈

提示:`/home.php`入口数据仅为演示功能,不构成任何交易凭证,也不承担相关风险和责任!

Copyright © 2011-2018 xxxxx.com All rights reserved.

Run:2.384/32.254(ms); 7(sql)/2.875(MB); comm:news/detail; Upd:2025-01-11 08:03:09