Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to get last system shutdown time in Sql server when
restarted system?



How to get last system shutdown time in Sql server when restarted system?..

Answer / gaurav.verma4210

SELECT * from
sys.databases
is used for find the id of database.
SELECT create_date
FROM sys.databases
WHERE database_id = 2
Tempdb db is recreated each time SQL Server is restarted so
the created date time of TEMPDB will also give you the date
and time of the last restart of the instance.

Is This Answer Correct ?    8 Yes 6 No

Post New Answer

More SQL Server Interview Questions

How many index keys possible for a table

6 Answers  


What is a result set object returned by mssql_query()?

0 Answers  


Is it possible to update the views? If yes, how, if not, why?

0 Answers  


What are locks in sql?

0 Answers  


what is package configuration variable?How to change file name in folder dynamically?Plz help me

1 Answers  


Is index a datbase objects in sql server?

2 Answers  


what stored procedure would you use to view lock information? : Sql server administration

0 Answers  


What are the difference between clustered and a non-clustered index?

0 Answers  


What is a non equi join?

0 Answers  


What is serializable?

0 Answers  


How do you drop an index?

0 Answers  


How to find the date and time of last updated table?

3 Answers  


Categories