{"id":3656,"date":"2025-10-08T14:20:27","date_gmt":"2025-10-08T14:20:27","guid":{"rendered":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?p=3656"},"modified":"2026-04-08T12:45:21","modified_gmt":"2026-04-08T12:45:21","slug":"check-sql-version-in-windows-cmd","status":"publish","type":"post","link":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html","title":{"rendered":"How to Check the SQL Version in Windows CMD?"},"content":{"rendered":"<style>\n.blg-advrt-main {\n    width: 100%;\n    max-width: 1000px;   \/* increase overall box width *\/\n    margin: 30px auto;   \/* center it nicely *\/\n}\n\n.blg-prm-bx {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 40px;           \/* more spacing between image & text *\/\n    padding: 30px 40px;  \/* increase inner space *\/\n    border-radius: 12px;\n    box-shadow: 0 6px 18px rgba(0,0,0,0.08);\n}\n\n\/* Image *\/\n.blg-prm-bx img {\n    max-width: 320px;   \/* bigger image *\/\n    height: auto;\n}\n\n\/* Content area *\/\n.blg-prm-bx .content {\n    max-width: 550px;\n}\n\n\/* Heading *\/\n.blg-prm-bx h2 {\n    font-size: 26px;\n    margin-bottom: 12px;\n}\n\n\/* Paragraph *\/\n.blg-prm-bx p {\n    font-size: 16px;\n    line-height: 1.6;\n}\n\n\/* Button *\/\n.blg-prm-bx a {\n    display: inline-block;\n    margin-top: 15px;\n    padding: 12px 22px;\n    font-size: 15px;\n    border-radius: 6px;\n}\n<\/style>\n\n<p>If you have ever needed to know exactly which version of SQL Server is running on your system, you\u2019re not alone!<\/p>\n\n\n\n<p>Whether you are troubleshooting, planning an upgrade, or just curious, knowing the SQL Server version is crucial.\u00a0<\/p>\n\n\n\n<p>The good news is, you don\u2019t need fancy tools or software; just a simple command in the Command Prompt (CMD) can give you all the details.\u00a0<\/p>\n\n\n\n<p>In this guide, we will walk you through the process step by step in a way that\u2019s easy to understand, even if you are not a tech expert.<\/p>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/464\/check-node-version-in-windows-cmd.html\"><strong>Guide to Check Node Version in Windows CMD<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why Knowing Your SQL Server Version Matters<\/strong><\/h2>\n\n\n\n<p>Before we dive into commands, let\u2019s quickly understand why checking the SQL version is important:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Compatibility \u2013<\/strong> Some applications require a specific SQL Server version.<\/li>\n\n\n\n<li><strong>Troubleshooting \u2013 <\/strong>Knowing the version helps resolve errors effectively.<\/li>\n\n\n\n<li><strong>Updates and Security \u2013<\/strong> Older versions may lack security patches, making updates essential.<\/li>\n\n\n\n<li><strong>Documentation \u2013 <\/strong>It\u2019s good practice to document server environments for IT audits.<\/li>\n<\/ul>\n\n\n\n<p>Now that we know why it\u2019s important, let\u2019s see how to check it using CMD!<\/p>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/465\/check-php-version-in-windows-cmd.html\"><strong>Guide to Check PHP Version in Windows CMD<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Methods to Check SQL Version in CMD<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u27a2 <strong>Method 1: Using sqlcmd Command in CMD<\/strong><\/h3>\n\n\n\n<p><strong>sqlcmd <\/strong>is a command-line utility installed with SQL Server. It allows you to connect to SQL Server and execute queries directly from CMD.\u00a0<\/p>\n\n\n\n<p>Here\u2019s how to check your SQL Server version:<\/p>\n\n\n\n<p>\u2794 To open Windows CMD, press <strong>\u2018Windows Key + R\u2019<\/strong> on your keyboard.<\/p>\n\n\n\n<p>\u2794 A dialog box will open. In that, Type <strong>\u2018cmd\u2019<\/strong> in it &amp; press <strong>\u2018Enter.\u2019<\/strong> This will open the Command Prompt window.<\/p>\n\n\n\n<p>\u2794 Now, you have to connect to SQL Server. For that, type the following command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span><table class=\"has-fixed-layout\"><tbody><tr><td class=\"kb_firewall\"><strong>sqlcmd -S &lt;ServerName> -U &lt;Username> -P &lt;Password><\/strong><\/td>\n<\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Here\u2019s what each parameter means:<\/strong><\/p>\n\n\n\n<p><strong>-S <\/strong>\u2192 Your server name (e.g., <strong>localhost<\/strong> or <strong>.\\SQLEXPRESS<\/strong>).<\/p>\n\n\n\n<p><strong>-U<\/strong> \u2192 Your SQL Server username (like <strong>sa<\/strong>).<\/p>\n\n\n\n<p><strong>-P<\/strong> \u2192 Your password.<\/p>\n\n\n\n<p><strong>Tip:<\/strong> If you\u2019re using Windows Authentication, replace -U and -P with -E to use your current Windows credentials.<\/p>\n\n\n\n<p>Here is the example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span><table class=\"has-fixed-layout\"><tbody><tr><td class=\"kb_firewall\"><strong>sqlcmd -S &lt;ServerName> -E<\/strong><\/td>\n<\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u2794 Once connected, you have to type the following query:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span><table class=\"has-fixed-layout\"><tbody><tr><td class=\"kb_firewall\"><strong>SELECT @@VERSION;<\/strong><br><strong>GO<\/strong><\/td>\n<\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>After pressing Enter, CMD will display the complete SQL Server version, including:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"84\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png\" alt=\"SQL version details\" class=\"wp-image-3657\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png 837w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details-300x30.png 300w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details-768x77.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>Here, it is showing:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SQL Server edition &#8211; Express.<\/li>\n\n\n\n<li>Version number (e.g., 16.0.1000.6) (X64)<\/li>\n\n\n\n<li>Operating system version.<\/li>\n<\/ul>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/466\/check-mongodb-version-in-windows-cmd.html\"><strong>Guide to Check MongoDB Version in Windows CMD<\/strong><\/a><\/p><hr>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u27a2<\/strong> <strong>Method 2: Using osql Command (Older SQL Versions)<\/strong><\/h3>\n\n\n\n<p>If you\u2019re working with older SQL Server versions, osql might be available:<\/p>\n\n\n\n<p>\u2794 To open Windows CMD, press <strong>\u2018Windows Key + R\u2019<\/strong> on your keyboard.<\/p>\n\n\n\n<p>\u00a0\u2794 A dialog box will open. In that, Type <strong>\u2018cmd\u2019<\/strong> in it &amp; press <strong>\u2018Enter.\u2019<\/strong> This will open the Command Prompt window.<\/p>\n\n\n\n<p>\u2794 In that, you have to type the command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span><table class=\"has-fixed-layout\"><tbody><tr><td class=\"kb_firewall\"><strong>osql -S &lt;ServerName> -U &lt;Username> -P &lt;Password><\/strong><\/td>\n<\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Once it is connected, type:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><button class=\"copy-btn\" onclick=\"copyCommand(this)\">\ud83d\udccb<\/button><span class=\"copy-msg\">Copied!<\/span><table class=\"has-fixed-layout\"><tbody><tr><td class=\"kb_firewall\"><strong>SELECT @@VERSION;<\/strong><br><strong>GO<\/strong><\/td>\n<\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Press Enter to see the version details.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"84\" src=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png\" alt=\"SQL version details\" class=\"wp-image-3657\" srcset=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png 837w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details-300x30.png 300w, https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details-768x77.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>*Note:<\/strong> osql is deprecated in newer versions of SQL Server, so sqlcmd is recommended.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Understanding the Version Output<\/strong><\/h2>\n\n\n\n<p>After running the command, you will see output like this:<\/p>\n\n\n\n<p><strong>Microsoft SQL Server 2019 (RTM) &#8211; 15.0.2000.5 (X64)&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;Sep 24 2019 13:48:23&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;Copyright (C) 2019 Microsoft Corporation<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;Express Edition (64-bit) on Windows 10 Pro 10.0 &lt;X64&gt;<\/strong><\/p>\n\n\n\n<p><strong>Here\u2019s how to read it:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>2019 \u2192<\/strong> SQL Server version year<\/li>\n\n\n\n<li><strong>15.0.2000.5 \u2192<\/strong> Internal version\/build number<\/li>\n\n\n\n<li><strong>Express Edition \u2192<\/strong> Edition of SQL Server installed<\/li>\n\n\n\n<li><strong>64-bit \u2192<\/strong> Architecture<\/li>\n<\/ul>\n\n\n\n<p>This information can help you identify compatibility with applications, plan upgrades, or verify server environments.<\/p>\n\n\n\n<hr><p><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/468\/check-angular-version-in-windows-cmd.html\"><strong>How to Check Angular Version in Windows CMD?<\/strong><\/a><\/p><hr>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Errors &amp; Fixes<\/strong><\/h2>\n\n\n\n<p><strong>1. \u2018sqlcmd\u2019 is not recognized as an internal or external command<\/strong><\/p>\n\n\n\n<p>You need to ensure that SQL Server tools are installed. You may need to add the installation path to your system\u2019s PATH environment variable.<\/p>\n\n\n\n<p>2. <strong>Login failed for user<\/strong> <strong>\u2018sa\u2019<\/strong><\/p>\n\n\n\n<p>Double-check your username\/password. If using Windows Authentication, replace <strong>-U &lt;Username> -P &lt;Password><\/strong> with <strong>-E<\/strong>.<\/p>\n\n\n\n<p>3. <strong>Server not found<\/strong><\/p>\n\n\n\n<p>In this case, you have to verify that the server name is correct and that SQL Server is running.<\/p>\n\n\n    <div class=\"blg-advrt-main blg-prm-bx\">\n        <div class=\"row\" style=\"display: flex; justify-content: space-evenly; align-items: center;\">\n            <div class=\"col-md-5\">\n                <div class=\"blg-advrt-first blg-advrt-right\">\n                    <img decoding=\"async\" src=\"https:\/\/www.hostitsmart.com\/assets\/images\/Knowledgebase\/windows-hosting.png\" alt=\"windows-hosting\" \/>\n                <\/div>\n            <\/div>\n            <div class=\"col-md-7\">\n                <div class=\"blg-advrt-first blg-advrt-left\">\n                    <div class=\"blg_advrt_cnt\">\n                        Your Terminal Deserves a Powerful Home!                    <\/div>\n                    <p>\n                        Launch your projects on a secure, scalable Windows VPS designed for strong performance.                    <\/p>\n                    <div class=\"blg-advrt-first-btn affl-blg-btn\">\n                        <a href=\"https:\/\/www.hostitsmart.com\/servers\/windows-vps-hosting\">\n                            Get Windows VPS Server                        <\/a>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n    \n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p>Checking your SQL Server version via CMD is quick, simple, and doesn\u2019t require any additional tools. Whether you are a beginner or an experienced administrator, the <strong>sqlcmd<\/strong> utility provides a fast way to obtain detailed version information, helping you troubleshoot, plan, and maintain your SQL environment.<\/p>\n\n\n\n<p>Next time you need to confirm your SQL version, remember, just a few commands in CMD are all it takes. No GUI, no hassle, no extra software.\u00a0<\/p>\n\n\n\n<p>Just pure efficiency at your fingertips!<\/p>\n\n\n<script>\nfunction copyCommand(btn) {\n  const td = btn.parentElement.querySelector(\"td.kb_firewall\");\n  const text = td.innerText.trim();\n\n  navigator.clipboard.writeText(text).then(() => {\n    const msg = btn.parentElement.querySelector(\".copy-msg\");\n    msg.style.display = \"inline-block\";\n    setTimeout(() => msg.style.display = \"none\", 1000);\n  });\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>If you have ever needed to know exactly which version of SQL Server is running on your system, you\u2019re not alone! Whether you are troubleshooting, planning an upgrade, or just curious, knowing the SQL Server version is crucial.\u00a0 The good news is, you don\u2019t need fancy tools or software; just a simple command in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-3656","post","type-post","status-publish","format-standard","hentry","category-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Check the SQL Version in Windows CMD?<\/title>\n<meta name=\"description\" content=\"Learn how to quickly check the SQL version in Windows CMD with simple step-by-step instructions to ensure your SQL Server is updated and running smoothly.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Check the SQL Version in Windows CMD?\" \/>\n<meta property=\"og:description\" content=\"Learn how to quickly check the SQL version in Windows CMD with simple step-by-step instructions to ensure your SQL Server is updated and running smoothly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-08T14:20:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-08T12:45:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png\" \/>\n\t<meta property=\"og:image:width\" content=\"837\" \/>\n\t<meta property=\"og:image:height\" content=\"84\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html\",\"name\":\"How to Check the SQL Version in Windows CMD?\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png\",\"datePublished\":\"2025-10-08T14:20:27+00:00\",\"dateModified\":\"2026-04-08T12:45:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\"},\"description\":\"Learn how to quickly check the SQL version in Windows CMD with simple step-by-step instructions to ensure your SQL Server is updated and running smoothly.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html#primaryimage\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png\",\"contentUrl\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png\",\"width\":837,\"height\":84},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Check the SQL Version in Windows CMD?","description":"Learn how to quickly check the SQL version in Windows CMD with simple step-by-step instructions to ensure your SQL Server is updated and running smoothly.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html","og_locale":"en_US","og_type":"article","og_title":"How to Check the SQL Version in Windows CMD?","og_description":"Learn how to quickly check the SQL version in Windows CMD with simple step-by-step instructions to ensure your SQL Server is updated and running smoothly.","og_url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2025-10-08T14:20:27+00:00","article_modified_time":"2026-04-08T12:45:21+00:00","og_image":[{"width":837,"height":84,"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png","type":"image\/png"}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html","name":"How to Check the SQL Version in Windows CMD?","isPartOf":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html#primaryimage"},"image":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html#primaryimage"},"thumbnailUrl":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png","datePublished":"2025-10-08T14:20:27+00:00","dateModified":"2026-04-08T12:45:21+00:00","author":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108"},"description":"Learn how to quickly check the SQL version in Windows CMD with simple step-by-step instructions to ensure your SQL Server is updated and running smoothly.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/474\/check-sql-version-in-windows-cmd.html#primaryimage","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png","contentUrl":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-content\/uploads\/2025\/10\/SQL-version-details.png","width":837,"height":84},{"@type":"WebSite","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/3656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=3656"}],"version-history":[{"count":8,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/3656\/revisions"}],"predecessor-version":[{"id":4326,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/3656\/revisions\/4326"}],"wp:attachment":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=3656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=3656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=3656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}