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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain different types of locks in sql server.

1124


How to create a simple table to test triggers in ms sql server?

1032


Explain about extended stored procedure?

989


How to divide query output into multiple groups with the group by clause in ms sql server?

1082


Does sql server use java?

1121


What is mssql?

1029


Mention the command used to rename the database.

1048


what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration

992


What are exact numeric data types in ms sql server?

1134


List out the differences between the clustered index and non-clustered index in sql server?

1046


What is normalization and what are the advantages of it?

1027


What xml support does the sql server extend?

1052


Explain timestamp datatype?

1015


How to Insert multiple rows with a single insert statement?

1091


What happens if an integer is too big for int date type?

1023