DB_ID « System Settings « SQL Server / T-SQL Tutorial






26.5.DB_ID
26.5.1.Returning the Current Database ID and Name