July 12, 2012 at 8:45 am
I have divided the tempdb into,
tempdb.mdf
tempdb1.mdf
tempdb2.mdf
tempdb3.mdf
templog.ldf
All the files are in same drive
Now, I have an curious doubt. How to merge all the files into its default one data and one log file?
July 12, 2012 at 9:11 am
ALTER DATABASE [tempdb]
REMOVE FILE <logical_name_1>
;
Repeat until all excess files removed, then restart SQL Server.
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
July 16, 2012 at 5:51 am
balasach82 (7/12/2012)
I have divided the tempdb into,tempdb1.mdf
tempdb2.mdf
tempdb3.mdf
How come .mdf files after first file?
Regards
Durai Nagarajan
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply