Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007

Warning: mysqli_query(): (HY000/1194): Table 'wp_options' is marked as crashed and should be repaired in C:\wwwroot\www.netcode.cn\wp-includes\wp-db.php on line 2007
事务日志收缩 SQL – 码农在线

事务日志收缩 SQL

  USE [master]
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE   --简单模式
GO

USE wf_db
GO
DBCC SHRINKFILE (N'wf_db_Log' , 11, TRUNCATEONLY)
GO

USE [master]
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE wf_db SET RECOVERY SIMPLE   --简单模式

--ALTER DATABASE DNName SET RECOVERY FULL WITH NO_WAIT
--GO
--ALTER DATABASE DNName SET RECOVERY FULL  --还原为完全模式
--GO