Finding Version in SQL Server

Hello everyone,

In this article, you will learn about learning version information in SQL Server.

You can learn your SQL Server version information by using the code below.

                         CAST(SERVERPROPERTY('productversion') AS VARCHAR(20)),
                         CHARINDEX('.', CAST(SERVERPROPERTY('productversion') AS VARCHAR(20))) - 1
                     ) AS INT);

When you run the above code, you will see the following result.

Finding Version in SQL Server

We have seen the number 15.

You can find out your version according to your number from the web address below.

Good luck to everyone in business and life.


Yavuz Selim Kart

I try to explain what I know in software and database. I am still improving myself by doing research on many programming languages. Apart from these, I am also interested in Graphic Design and Wordpress. I also have knowledge about SEO and Social media management. In short, I am a determined person who likes to work hard.

You may also like...

Don`t copy text!