Last Created Database Name

Jayakumars
Posted by Jayakumars under SQL Server category on | Points: 40 | Views : 670
5.--Last Created Database Name--

Select TOP 1 name,database_id FROM sys.databases ORDER BY database_id desc

Comments or Responses

Login to post response