Is it possible for master, tempdb, model and msdb to have a database_id other than 1,2,3,4 respectively?
Question SQL Server System Databases, as far as I know, always have those same IDs and I have seen lots of maintenance scripts on the internet relying on the predicate WHERE database_id > 4 to exclude them from the actions of the script. Also, if … [Read More]