导航

2020年7月21日

摘要: 原文来自于:https://www.biaodianfu.com/sql-server-move-mdf-file.html SQL Server创建新库时,默认会把数据存放在C盘中,一旦数据库中的存储数据多了以后,C盘的空间就会所剩无几。解决方案是将存放数据的物理文件迁移到其他盘。具体流程为: 1 阅读全文

posted @ 2020-07-21 16:41 yiyishuitian 阅读(407) 评论(0) 推荐(0)

摘要: 1 先查看数据库文件先存放位置及逻辑名称 select database_id , name , physical_name as CurrentLocation , state_desc , size from sys.master_files where database_id = db_id( 阅读全文

posted @ 2020-07-21 16:33 yiyishuitian 阅读(405) 评论(0) 推荐(0)