Home > Database > Mysql Tutorial > 收缩数据库

收缩数据库

WBOY
Release: 2016-06-07 14:56:28
Original
1392 people have browsed it

SQL Server收缩数据库 无 USE masterGOIF EXISTS(SELECT name FROM sys.databases WHERE name=N'Test')DBCC SHRINKDATABASE(N'Test')GO

SQL Server收缩数据库
USE master
GO
IF EXISTS(SELECT name FROM sys.databases WHERE name=N'Test')
DBCC SHRINKDATABASE(N'Test')
GO
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template