Tips on T-SQL, SQL Server DBA stuff, and more!
SELECT DATEDIFF(D, CrDate, GETDATE()) 'Days On Line' FROM SysDatabases WHERE Name = 'TempDb'
No comments:
Post a Comment