{"id":27187,"date":"2023-08-11T14:23:23","date_gmt":"2023-08-11T12:23:23","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=27187"},"modified":"2023-08-11T14:23:23","modified_gmt":"2023-08-11T12:23:23","slug":"sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/","title":{"rendered":"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As you know, with the new version of SSMS since the version 18, the tools like sqlcmd are no more included in the installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"767\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00-1024x767.png\" alt=\"\" class=\"wp-image-27188\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00-1024x767.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00-300x225.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00-768x575.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00.png 1353w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You need to download separately the tools that you need <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/tools\/overview-sql-tools?view=sql-server-ver16\">here<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Few months ago, Microsoft announces the replacement of the \u201cold\u201d sqlcmd with a new version called go-sqlcmd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This new version includes all parameters from the \u201cold\u201d sqlcmd but also new parameters such as the connection to the Azure Active Directory authentication. Following my curiosity and the Microsoft Learn article on this <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/tools\/sqlcmd\/go-sqlcmd-utility?view=sql-server-ver16\">new tools<\/a>, I begin with the installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-installation\">Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The article is very clear about the installation, and I just follow the steps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1: Check if Winget is installed<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My Test VM is under Windows Server 2022 and I run a cmd session:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"192\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd01.png\" alt=\"\" class=\"wp-image-27189\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd01.png 511w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd01-300x113.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I have the message \u201c<mark class=\"has-inline-color has-vivid-red-color\">winget is not recognized as an internal command<\/mark>\u201d. This means that Winget is not install and need to be download <a href=\"http:\/\/Use the winget tool to install and manage applications | Microsoft Learn\">here<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"978\" height=\"422\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd02.png\" alt=\"\" class=\"wp-image-27190\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd02.png 978w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd02-300x129.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd02-768x331.png 768w\" sizes=\"auto, (max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After this step, following the error, I download the Microsoft.UI.Xaml.2.7&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"572\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd03-1024x572.png\" alt=\"\" class=\"wp-image-27191\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd03-1024x572.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd03-300x168.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd03-768x429.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd03-1536x858.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd03.png 1691w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I install this package and winget but when I check, winget is not recognized&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"399\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd06.png\" alt=\"\" class=\"wp-image-27192\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd06.png 979w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd06-300x122.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd06-768x313.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ok, no Problem, I google&#8230; And finally find this great and useful article from <a href=\"https:\/\/www.andreasnick.com\/about.html\">Andreas Nick<\/a>: <\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><a href=\"https:\/\/www.andreasnick.com\/112-install-winget-and-appinstaller-on-windows-server-2022.html\">Install WinGet and AppInstaller on Windows Server 2022<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Following all steps explained in the blog, I finally success to install Winget&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"702\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd07.png\" alt=\"\" class=\"wp-image-27194\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd07.png 846w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd07-300x249.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd07-768x637.png 768w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2: Install go-sqlcmd<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install go-sqlcmd, i run the command: <strong>winget install sqlcmd<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"628\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd08-1024x628.png\" alt=\"\" class=\"wp-image-27195\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd08-1024x628.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd08-300x184.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd08-768x471.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd08.png 1148w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s very quick and you just need at the end to confirm  the agreements terms after reading it like usual&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"663\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd09-1024x663.png\" alt=\"\" class=\"wp-image-27196\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd09-1024x663.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd09-300x194.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd09-768x497.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd09.png 1087w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And after the download, the package is installed on my VM under Windows Server 2022<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"662\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd10-1024x662.png\" alt=\"\" class=\"wp-image-27197\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd10-1024x662.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd10-300x194.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd10-768x496.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd10.png 1086w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3: Verify the installation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To verify the installation, reopen a new CMD windows and type sqlcmd:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"420\" height=\"148\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd11-1.png\" alt=\"\" class=\"wp-image-27203\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd11-1.png 420w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd11-1-300x106.png 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can see that I have the error &#8220;<mark class=\"has-inline-color has-vivid-red-color\">The system cannot find the file specifified<\/mark>&#8220;. <br>At this point and following the documentation, I type sqlcmd &#8211;help:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"756\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd12.png\" alt=\"\" class=\"wp-image-27204\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd12.png 836w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd12-300x271.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd12-768x695.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can see in Feedback the go-sqlcmd to confirm the installation.<br>These steps already take a lot of time and I stop the blog at this point.<br>I hope this blog can help you during your testing&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See you soon for the next steps and the real testing of the go-sqlcmd!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you know, with the new version of SSMS since the version 18, the tools like sqlcmd are no more included in the installation. You need to download separately the tools that you need here Few months ago, Microsoft announces the replacement of the \u201cold\u201d sqlcmd with a new version called go-sqlcmd. This new version&hellip;&nbsp;<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133,99],"tags":[49,2871],"class_list":["post-27187","post","type-post","status-publish","format-standard","category-database","category-sql-server","tag-microsoft","tag-sqlcmd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v29.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022 - dbi services Blog<\/title>\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.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022\" \/>\n<meta property=\"og:description\" content=\"As you know, with the new version of SSMS since the version 18, the tools like sqlcmd are no more included in the installation. You need to download separately the tools that you need here Few months ago, Microsoft announces the replacement of the \u201cold\u201d sqlcmd with a new version called go-sqlcmd. This new version&hellip;&nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-11T12:23:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1353\" \/>\n\t<meta property=\"og:image:height\" content=\"1013\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"St\u00e9phane Haby\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"St\u00e9phane Haby\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/\"},\"author\":{\"name\":\"St\u00e9phane Haby\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/7980252d7d7a521e285e7c66114cf82a\"},\"headline\":\"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022\",\"datePublished\":\"2023-08-11T12:23:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/\"},\"wordCount\":365,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/go-sqlcmd00-1024x767.png\",\"keywords\":[\"Microsoft\",\"sqlcmd\"],\"articleSection\":[\"Database\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/\",\"name\":\"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022 - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/go-sqlcmd00-1024x767.png\",\"datePublished\":\"2023-08-11T12:23:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/go-sqlcmd00.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/go-sqlcmd00.png\",\"width\":1353,\"height\":1013},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/7980252d7d7a521e285e7c66114cf82a\",\"name\":\"St\u00e9phane Haby\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/STH_web-min-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/STH_web-min-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/STH_web-min-scaled.jpg\",\"caption\":\"St\u00e9phane Haby\"},\"description\":\"St\u00e9phane Haby has more than 20 years of experience in Microsoft solutions, specializing in the installation, migration, best practices, and performance analysis of Microsoft SQL Server, as well as Microsoft Business Intelligence solutions (SharePoint, Office) and .NET development for the banking sector. A former Microsoft Most Valuable Professional (MVP) and early adopter of Microsoft Team System in France, he has authored several technical articles. He holds Microsoft Certified Solutions Associate (MCSA) and Expert (MCSE) for SQL Server, MCTS, MCITP for SQL Server 2008, and ITIL V3 Foundation certifications. His industry experience covers chemicals and pharma, banking, and financial services.\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/stephane-haby\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022 - dbi services Blog","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.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/","og_locale":"en_US","og_type":"article","og_title":"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022","og_description":"As you know, with the new version of SSMS since the version 18, the tools like sqlcmd are no more included in the installation. You need to download separately the tools that you need here Few months ago, Microsoft announces the replacement of the \u201cold\u201d sqlcmd with a new version called go-sqlcmd. This new version&hellip;&nbsp;","og_url":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2023-08-11T12:23:23+00:00","og_image":[{"width":1353,"height":1013,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00.png","type":"image\/png"}],"author":"St\u00e9phane Haby","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"St\u00e9phane Haby","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/"},"author":{"name":"St\u00e9phane Haby","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/7980252d7d7a521e285e7c66114cf82a"},"headline":"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022","datePublished":"2023-08-11T12:23:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/"},"wordCount":365,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00-1024x767.png","keywords":["Microsoft","sqlcmd"],"articleSection":["Database","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/","url":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/","name":"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022 - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00-1024x767.png","datePublished":"2023-08-11T12:23:23+00:00","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2023\/08\/go-sqlcmd00.png","width":1353,"height":1013},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-tools-first-steps-with-go-sqlcmd-tool-on-windows-server-2022\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Server Tools: First steps with go-sqlcmd tool on Windows Server 2022"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/7980252d7d7a521e285e7c66114cf82a","name":"St\u00e9phane Haby","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/STH_web-min-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/STH_web-min-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/STH_web-min-scaled.jpg","caption":"St\u00e9phane Haby"},"description":"St\u00e9phane Haby has more than 20 years of experience in Microsoft solutions, specializing in the installation, migration, best practices, and performance analysis of Microsoft SQL Server, as well as Microsoft Business Intelligence solutions (SharePoint, Office) and .NET development for the banking sector. A former Microsoft Most Valuable Professional (MVP) and early adopter of Microsoft Team System in France, he has authored several technical articles. He holds Microsoft Certified Solutions Associate (MCSA) and Expert (MCSE) for SQL Server, MCTS, MCITP for SQL Server 2008, and ITIL V3 Foundation certifications. His industry experience covers chemicals and pharma, banking, and financial services.","url":"https:\/\/www.dbi-services.com\/blog\/author\/stephane-haby\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/27187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=27187"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/27187\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=27187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=27187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=27187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}