More DBA job interview questions and answers at
(Continued from previous question...)
How can I tell the datetime my Server started?
The normal way would be to look at the errorlog, but this is not always convenient or even possible. From a SQL session you find out the server startup time to within a few seconds using:
select "Server Start Time" = crdate
where name = "tempdb"
Another useful query is:
select * from sysengines
which gives the address and port number at which the server is listening.
(Continued on next question...)