what can not be used for upgrade from sql server2019 to 2022

Zheng, Xiang | CNTD 0 Reputation points
2024-10-10T00:37:41.9933333+00:00

I want to know what has changed about upgrade sql server2019 to 2022,and How to check Which Source code cannot be used anymore in SQL Server 2022 of my project?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian - MSFT 23,106 Reputation points Microsoft External Staff
    2024-10-10T01:15:51.2633333+00:00

    Hello,

    Upgrading from SQL Server 2019 to SQL Server 2022 brings several significant enhancements and new features:

    Real-Time Analytics: SQL Server 2022 integrates seamlessly with Azure Synapse Link, enabling real-time analytics on operational data without impacting performance.

    Enhanced Security: Improved security features, including support for ledger tables, which provide cryptographic proof of data integrity.

    Performance Improvements: Enhancements to the Query Store and Intelligent Query Processing, which help optimize performance and troubleshoot issues more effectively.

    Disaster Recovery: Better disaster recovery capabilities with Contained Availability Groups, making it easier to manage and recover databases.

    Integration with Azure: Deeper integration with Azure services, such as Azure Purview for data governance and Power BI for business intelligence.

    To check if your code is using SQL Server 2022, you can use the following command within your SQL Server environment:

    SELECT SERVERPROPERTY('ProductVersion'), SERVERPROPERTY ('ProductLevel'), SERVERPROPERTY ('Edition')

    This will return the version, service pack level, and edition of the SQL Server instance you're connected to.

    Hope this helps.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.