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

What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?

0 Answers  


What is view in sql?

0 Answers  


How does stuff differ from the replace function?

0 Answers  


How to store and query spatial data?

0 Answers  


what is the different types of backups available in sql server? : Sql server database administration

0 Answers  


how can you check the level of fragmentation on a table? : Sql server administration

0 Answers  


Explain about local stored procedure?

0 Answers  


How many columns can exist together per table?

0 Answers   Cap Gemini,


What are different types of Keys? Please explain all the keys with a suitable example.

4 Answers  


Explain in brief about Microsoft SQL server?

0 Answers  


What is the use of floor function in sql server?

0 Answers  


What are the different subsets of sql?

0 Answers  


Categories