use master
goAlter database tempdb modify file (name = tempdev, filename = 'G:\db\tempdb.mdf')goAlter database tempdb modify file (name = templog, filename = 'G:\db\templog.ldf')--重启数据库即可
本文共 241 字,大约阅读时间需要 1 分钟。
use master
goAlter database tempdb modify file (name = tempdev, filename = 'G:\db\tempdb.mdf')goAlter database tempdb modify file (name = templog, filename = 'G:\db\templog.ldf')--重启数据库即可
转载于:https://www.cnblogs.com/TeyGao/p/3524324.html