﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python MSSQL-CLI Kullanımı &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/python-mssql-cli-kullanimi/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Tue, 07 Mar 2023 17:48:15 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>SQL Server&#8217;da Python MSSQL-CLI Kullanımı</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-python-mssql-cli-kullanimi</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Sun, 31 Oct 2021 19:25:29 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[MSSQL-CLI Kullanımı]]></category>
		<category><![CDATA[Python MSSQL-CLI]]></category>
		<category><![CDATA[Python MSSQL-CLI Kullanımı]]></category>
		<guid isPermaLink="false">https://sqlserveregitimleri.com/?p=11479</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server&#8217;da Python MSSQL-CLI kullanımı hakkında bilgi vermeye çalışacağım. İlk olarak MSSQL-CLI nedir biraz bahsedeyim. MSSQL-CLI SQL Server için etkileşimli bir...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server&#8217;da Python <strong>MSSQL-CLI</strong> kullanımı hakkında bilgi vermeye çalışacağım.</p>
<p>İlk olarak <strong>MSSQL-CLI</strong> nedir biraz bahsedeyim.</p>
<p><strong>MSSQL-CLI</strong> SQL Server için etkileşimli bir komut satırı sorgulama aracıdır. Açık kaynaktır ve Python ile hazırlanmıştır. MSDOS üzerinde rahatlıkla kullanılabilir. MSDOS üzerinde otomatik tamamlama özelliğine sahiptir.</p>
<p>İşlemleri yapmak için Python bilmenize gerek yok. <a href="https://www.python.org/downloads/">Python&#8217;un </a>sitesiden benim denemiş olduğum<strong> 3.10.0</strong> sürümünü indirip kurmanız önemli.</p>
<p>Python kurulum işlemlerini yaptıysanız sıra geldi <strong>MSSQL-CLI</strong> kurulumunu yapmaya.</p>
<p>Aşağıdaki siteye giriş yapalım.</p>
<p><strong>https://pypi.org/project/mssql-cli/</strong></p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-11481 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-1.jpg" alt="SQL Server'da Python MSSQL-CLI Kullanımı" width="700" height="377" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-1-315x170.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-1-557x300.jpg 557w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-1-251x135.jpg 251w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Kırmızı alan içindeki kısmı kopyalayıp, MSDOS içerisine yapıştırıp ENTER tuşuna basın. Aşağıdakine benzer bir süreç göreceksiniz.</p>
<p><img decoding="async" class="alignnone wp-image-11482 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-2.jpg" alt="SQL Server'da Python MSSQL-CLI Kullanımı" width="700" height="366" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-2.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-2-315x165.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-2-574x300.jpg 574w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-2-258x135.jpg 258w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Sarı uyarı Pip sürümümüzün güncel olmaması ile alakalı bir uyarıdır. Dilerseniz uyarının belirttiği şekilde Pip sürümümüzü güncelleyebilirsiniz.</p>
<p>Kurulum işlemi tamamlandı. Şimdi kullanmasına geldi.</p>
<pre class="line-numbers"><code class="language-markup">mssql-cli -S YAVUZSELIM\YAVUZSELIM -d  Northwind -U sa -P KendiSifreniYaz</code></pre>
<p>Komutunu yazdıktan sonra ENTER tuşuna basın. Aşağıdaki sonucu göreceksiniz.</p>
<p>Burada<strong> YAVUZSELIM\YAVUZSELIM</strong> benim SQL Server giriş INSTANCE NAME adı. <strong>Northwind</strong> veritabanı adı. <strong>sa</strong> kullanıcı girişi adı. Son olarak <strong>sa</strong> şifrenizi yukarıda kendinize göre revize edeceksiniz.</p>
<p><img decoding="async" class="alignnone wp-image-11483 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-3.jpg" alt="SQL Server'da Python MSSQL-CLI Kullanımı" width="700" height="366" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-3.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-3-315x165.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-3-574x300.jpg 574w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-3-258x135.jpg 258w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Şimdi sorgumuzu yazalım.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-11484 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-4.jpg" alt="SQL Server'da Python MSSQL-CLI Kullanımı" width="700" height="366" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-4.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-4-315x165.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-4-574x300.jpg 574w, https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-4-258x135.jpg 258w" sizes="auto, (max-width: 700px) 100vw, 700px" /></p>
<p>Sorguyu yazıp <strong>ENTER</strong> tuşuna bastım. Sonuç çok fazla geldiyse <strong>SPACE</strong> tuşuna basarak devamını görebilirsiniz. Aşağıya kullanımı ile alakalı bir gif resmi de ekledim.  İnceleyebilirsiniz.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-11485 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2021/10/sql-serverda-python-mssql-cli-kullanimi-5.gif" alt="SQL Server'da Python MSSQL-CLI Kullanımı" width="756" height="338" /></p>
<p>Görüldüğü üzere sorgumuzu<strong> Python MSSQL-CLI</strong> kullanarak başarılı bir şekilde çalıştırmış olduk.</p>
<p>Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 529</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
