﻿<?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>SQL Server’da EOMONTH Fonksiyonu kullanımı &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-serverda-eomonth-fonksiyonu-kullanimi/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Sun, 16 Jan 2022 18:57:14 +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’da EOMONTH Fonksiyonu ile Ayın İlk ve Son Gününü Bulmak</title>
		<link>https://sqlserveregitimleri.com/sql-serverda-eomonth-fonksiyonu-ile-ayin-ilk-ve-son-gununu-bulmak</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Mon, 11 Nov 2019 07:19:46 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[EOMONTH Fonksiyonu ile Ayın İlk ve Son Gününü Bulmak]]></category>
		<category><![CDATA[SQL Server’da EOMONTH Fonksiyonu ile Ayın İlk ve Son Gününü Bulmak]]></category>
		<category><![CDATA[SQL Server’da EOMONTH Fonksiyonu kullanımı]]></category>
		<guid isPermaLink="false">http://sqlserveregitimleri.com/?p=8107</guid>

					<description><![CDATA[Herkese merhaba, Bu yazıda SQL Server’da EOMONTH fonksiyonu ile ayın ilk ve son gününü bulmak hakkında bilgi vereceğim. SQL Server&#8217;da bazı durumlarda bir ayın ilk...]]></description>
										<content:encoded><![CDATA[<p>Herkese merhaba,</p>
<p>Bu yazıda SQL Server’da EOMONTH fonksiyonu ile ayın ilk ve son gününü bulmak hakkında bilgi vereceğim.</p>
<p>SQL Server&#8217;da bazı durumlarda bir ayın ilk ve son günlerine ihtiyaç duyabilirsiniz.</p>
<p>Aşağıdaki kod yardımıyla bu işlemi rahatlıkla yapabilirsiniz.</p>
<pre class="line-numbers"><code class="language-sql">--Ayın ilk gününü bulmak 

DECLARE @Tarih1 DATETIME;
SET @Tarih1 = GETDATE();
SELECT DATEADD(DAY, 1, EOMONTH(@Tarih1, -1)) AyınIlkGunu;

--Ayın son gününü bulmak 

DECLARE @Tarih2 DATETIME;
SET @Tarih2 = GETDATE();
SELECT EOMONTH(@Tarih2) AyınSonGunu;</code></pre>
<p>Kodu çalıştırdığınızda aşağıdaki gibi bir sonuç alacaksınız.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-8109 size-full" src="https://sqlserveregitimleri.com/wp-content/uploads/2019/11/sql-serverda-eomonth-fonksiyonu-ile-ayin-ilk-ve-son-gununu-bulmak-1.jpg" alt="SQL Server’da EOMONTH Fonksiyonu ile Ayın İlk ve Son Gününü Bulmak" width="700" height="489" srcset="https://sqlserveregitimleri.com/wp-content/uploads/2019/11/sql-serverda-eomonth-fonksiyonu-ile-ayin-ilk-ve-son-gununu-bulmak-1.jpg 700w, https://sqlserveregitimleri.com/wp-content/uploads/2019/11/sql-serverda-eomonth-fonksiyonu-ile-ayin-ilk-ve-son-gununu-bulmak-1-315x220.jpg 315w, https://sqlserveregitimleri.com/wp-content/uploads/2019/11/sql-serverda-eomonth-fonksiyonu-ile-ayin-ilk-ve-son-gununu-bulmak-1-429x300.jpg 429w, https://sqlserveregitimleri.com/wp-content/uploads/2019/11/sql-serverda-eomonth-fonksiyonu-ile-ayin-ilk-ve-son-gununu-bulmak-1-193x135.jpg 193w" sizes="(max-width: 700px) 100vw, 700px" /></p>
<p>Görüldüğü üzere ayın ilk ve son günü bilgisi gelmiş oldu.</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"> 755</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
