<?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>veri &#8211; Kobijet</title>
	<atom:link href="https://www.kobijet.com.tr/kobijet-bilgi-bankasi/tag/veri/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kobijet.com.tr</link>
	<description>kobiler için komple çözümler</description>
	<lastBuildDate>Wed, 08 Feb 2023 08:29:46 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>

<image>
	<url>https://www.kobijet.com.tr/wp-content/uploads/2022/08/cropped-site-favicon-32x32.png</url>
	<title>veri &#8211; Kobijet</title>
	<link>https://www.kobijet.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Program Sıfırlama İşlemleri</title>
		<link>https://www.kobijet.com.tr/kobijet-bilgi-bankasi/sql-server/program-sifirlama-islemleri/</link>
		
		<dc:creator><![CDATA[kobijetadmin]]></dc:creator>
		<pubDate>Wed, 02 Jun 2021 08:48:40 +0000</pubDate>
				<guid isPermaLink="false">https://www.kobijet.com.tr/?post_type=epkb_post_type_1&#038;p=528</guid>

					<description><![CDATA[KODLAR: A-) SİZLERE VERECEĞİMİZ İLK KOD VERİ TABANI SIFIRLAMA İŞLEMİDİR. UYARI: HER İHTİMALE KARŞI BU İŞLEMDEN ÖNCE YEDEK ALINMASI ÖNERİLİR!! B-) AŞAĞIDAKİ KODUMUZ İSE PROGRAMDAKİ HAREKETLERİ TEMİZLEYECEKTİR (STOK VE CARİLER SİLİNMEYECEKTİR) C-) Ürün fiyatlarının tamamını sıfırlama kodu D-) Cari kartları sıfırlama kodu. NOT: Bu kodu çalıştırdığınız zaman program hareketlerinizin hepsi<a class="moretag" href="https://www.kobijet.com.tr/kobijet-bilgi-bankasi/sql-server/program-sifirlama-islemleri/"> Devamı&#8230;</a>]]></description>
										<content:encoded><![CDATA[
<p><strong><em>KODLAR:</em></strong></p>



<p><strong>A-)</strong> SİZLERE VERECEĞİMİZ İLK KOD VERİ TABANI SIFIRLAMA İŞLEMİDİR.</p>



<p><strong>UYARI: HER İHTİMALE KARŞI BU İŞLEMDEN ÖNCE YEDEK ALINMASI ÖNERİLİR!!</strong></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-sql" data-lang="SQL"><code>use kobijet_2023;
delete from Hareket;
delete from HareketBaslik;
delete from Musteriler where id&gt;5;
delete from stoklar;
delete from stoklartemp;
truncate table hareketbaslik;
truncate table stoklar;
truncate table hareket;
truncate table stoklartemp;
truncate table cekler;
truncate table hizliurunler;
truncate table resimler;
</code></pre></div>



<p><strong>B-) </strong>AŞAĞIDAKİ KODUMUZ İSE PROGRAMDAKİ HAREKETLERİ TEMİZLEYECEKTİR (STOK VE CARİLER SİLİNMEYECEKTİR)</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-sql" data-lang="SQL"><code>use KobiJet_2023;
truncate table hareketbaslik;
truncate table hareket;
truncate table stoklartemp;
truncate table cekler;</code></pre></div>



<p><strong>C-) </strong>Ürün fiyatlarının tamamını sıfırlama kodu</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-sql" data-lang="SQL"><code>use KobiJet_2023;
update stoklar set urunsatisfiyati=0,urunalisfiyati=0;</code></pre></div>



<p><strong>D-)</strong> Cari kartları sıfırlama kodu.</p>



<p><strong>NOT:</strong> <strong><em>Bu kodu çalıştırdığınız zaman program hareketlerinizin hepsi silinecektir!</em></strong></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-sql" data-lang="SQL"><code>use KobiJet_2023;
truncate table hareketbaslik;
truncate table hareket;
truncate table stoklartemp;
truncate table cekler;
delete from Musteriler where id&gt;5;
DBCC CHECKIDENT(Musteriler,RESEED,99);</code></pre></div>



<p>E-)Hareket görmeyen stokları sıfırlama kodu</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-sql" data-lang="SQL"><code>use KobiJet_2023;
delete from Stoklar where Stoklar.id NOT IN (select urunid from hareket where urunid=stoklar.id)</code></pre></div>



<p><strong>İŞLEMLER:</strong></p>



<p>1-)<strong> SQL Server 2014 Management Studio</strong> UYGULAMASINI ÇALIŞTIRIYORUZ.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="329" height="44" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-53.png" alt="" class="wp-image-529" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-53.png 329w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-53-300x40.png 300w" sizes="(max-width: 329px) 100vw, 329px" /></figure></div>



<p>2-) SQL E GİRİŞ YAPIYORUZ.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="590" height="369" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-55.png" alt="" class="wp-image-531" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-55.png 590w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-55-300x188.png 300w" sizes="(max-width: 590px) 100vw, 590px" /></figure></div>



<p>3-) LOGİN KISMINA&nbsp; <strong>sa </strong>&nbsp;PASSWORD KISMINA İSE <strong>&nbsp;12321az </strong>YAZIYORUZ. ARDINDAN CONNECT BUTONUNA BASARAK  SQL ‘E GİRİŞ YAPIYORUZ.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="414" height="322" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-56.png" alt="" class="wp-image-532" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-56.png 414w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-56-300x233.png 300w" sizes="(max-width: 414px) 100vw, 414px" /></figure></div>



<p>4-) GELEN EKRANDA <strong>NEW QUERY</strong> BUTONUNA TIKLIYORUZ.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="605" height="225" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-57.png" alt="" class="wp-image-533" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-57.png 605w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-57-300x112.png 300w" sizes="(max-width: 605px) 100vw, 605px" /></figure></div>



<p>5-) ARDINDAN GELEN BOŞ SAYFAYA İLK BÖLÜMDE PAYLAŞTIĞIMIZ KODLARDAN GEREKLİ OLANI KOPYALAYIP YAPIŞTIRIYORUZ. İLK SATIRA KULLANILAN VERİ TABANININ ADI YAZILMALIDIR.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="869" height="501" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-61.png" alt="" class="wp-image-537" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-61.png 869w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-61-300x173.png 300w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-61-768x443.png 768w" sizes="(max-width: 869px) 100vw, 869px" /></figure></div>



<p>6-)VERİ TABANINIZIN ADI <strong>KobiJet_2021 </strong>İSE KODDA HERHANGİ BİR DÜZENLEME YAPMANIZA GEREK KALMAYACAKTIR. VER TABANINIZIN ADINI AŞAĞIDAKİ İŞLEMLERİ YAPARAK ÖĞRENEBİLİRSİNİZ.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="865" height="212" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-60.png" alt="" class="wp-image-536" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-60.png 865w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-60-300x74.png 300w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-60-768x188.png 768w" sizes="(max-width: 865px) 100vw, 865px" /></figure></div>



<p>7-) ARDINDAN <strong>EXECUTE</strong> YE BASIP İŞLEMİ SONLANDIRIYORUZ. SONRASINDA SQL’İ KAPATABİLİRSİNİZ .</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="605" height="277" src="//i0.wp.com/kobijet.com.tr/wp-content/uploads/2021/06/image-63.png" alt="" class="wp-image-539" srcset="https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-63.png 605w, https://www.kobijet.com.tr/wp-content/uploads/2021/06/image-63-300x137.png 300w" sizes="(max-width: 605px) 100vw, 605px" /></figure></div>



<p><strong>NOT: SQL’İ KAPATMAK İÇİN ÇARPI İŞARETİNE BASTIĞINIZDA ÇIKAN SORUYA &#8220;NO&#8221; SEÇENEĞİNİ SEÇMENİZ GEREKMEKTEDİR.</strong></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
