— Get number of data files in tempdb database (Query 25) (Tempdb Data Files)
EXEC sys.xp_readerrorlog 0, 1, N’The tempdb database has’;
I believe this is because the SQL Server log has been deleted. anyway I used the following query which returns a lot more information about the tempdb and is not dependant on the sql server logs being there.
Exec Tempdb.dbo.sp_helpfile
]]>That is an excellent idea, Tony! I’d be all for something like that as it takes a lot of manual work out of the equation!
]]>