- run CMD
- NET START MSSQLSERVER /f /mSQLCMD
- SQLCMD -S localhost -E
ALTER
DATABASE
tempdb
Modify
FILE (
Name
=
'tempdev'
,FileName =
'C:\tempDB\tempdb.mdf'
)
ALTER
DATABASE
tempdb
Modify
FILE (
Name
=
'templog'
,FileName =
'C:\tempDB\templog.ldf'
)
No comments:
Post a Comment