March 17, 2023 at 12:00 am
Comments posted to this topic are about the item SQL Server 2022 Restore and DBCompat
March 17, 2023 at 5:59 am
Crud... I knew the answer but clicked on the wrong bloody button. 🙁
--Jeff Moden
Change is inevitable... Change for the better is not.
March 17, 2023 at 7:15 am
answer in my opinion is incorrect (or question badly formed) - see https://learn.microsoft.com/en-us/sql/database-engine/install-windows/supported-version-and-edition-upgrades-2022?view=sql-server-ver16, Migrate to SQL Server 2022 (16.x).
one thing is the "from" the other is the "after"
March 17, 2023 at 7:59 am
I agree with Frederico. This
Databases with a compatibility level of 90, including backups taken on SQL Server 2005 (9.x), are automatically upgraded to a compatibility level of 100 when restored to SQL Server 2022 (16.x).
suggests that you can restore a SQL Server 2005 backup and with compatibility level of 90. However, you won't end up with a compatibility level of 90 even if you can start with one.
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
March 17, 2023 at 2:04 pm
Migrate to SQL Server 2022 (16.x)
You can migrate databases from older versions of SQL Server to SQL Server 2022 (16.x), as long as the source database compatibility level is 90 or higher. Databases with a compatibility level of 90 (for example, on SQL Server 2005 (9.x)), are automatically upgraded to a compatibility level of 100 when migrated to SQL Server 2022 (16.x). If the compatibility level on the source database is 100 or higher, it will be unchanged on SQL Server 2022 (16.x).
--------------------------------------
;-)“Everything has beauty, but not everyone sees it.” ― Confucius
March 20, 2023 at 4:46 pm
I can reword the question. I was getting to the point that while you can restore a SQL 2005 backup, you will not get compat level 90. This will get changed.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply