Hi All,
I am using SQLSERVER2012.Iam trying to move tempdb database from one drive to another drive. it was not creating new data and log files in new location. I executed below script and then restarted services. but the data file and log file are not created in new path.
USE master;
GO
alter database tempdb MODIFY FILE (NAME = tempdev,FILENAME='NEW PATH');
GO
alter database tempdb MODIFY FILE (NAME = templog,FILENAME='NEW PATH');