11 How do I move TempDB to another drive in SQL Server?

Опубликовано: 19 November 2026
на канале: Learn SSIS
3,732
42

Move tempdb files to another drive in SQL Server | Move tempdb to new drive
SSIS Tutorials:    • SSIS Tutorials  
SSIS real time scenarios examples:    • SSIS real time scenarios examples  
SSIS Interview questions and answers:    • SSIS Interview questions and answers  
SQL Server:    • SQL Server  
SQL Server Developer Interview questions:    • SQL Server Questions  

-------SQL alter Query
ALTER DATABASE tempdb
MODIFY FILE(NAME = 'tempdev', FILENAME = 'E:\SQLDATA\tempdb.mdf')
GO
ALTER DATABASE tempdb
MODIFY FILE(NAME = 'templog', FILENAME = 'E:\SQLDATA\templog.ldf')

How do I move TempDB to another drive in SQL Server?
Can you move TempDB files location without restarting SQL Server services?
How do I move TempDB files to another drive NDF?
How do I move a SQL Server database to another drive?
Where is SQL TempDB location?

If you have any questions or suggestions please comment on the video or write to me at “[email protected]”