<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : sqlde hesaplama</title>
  <link>http://www.erpne.org/</link>
  <description><![CDATA[XML içerik linki; ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : SQL Veri Taban&#305; &#304;&#351;lemleri : sqlde hesaplama]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 00:31:26 +0000</pubDate>
  <lastBuildDate>Mon, 28 Jul 2008 08:44:39 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.10</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.erpne.org/RSS_post_feed.asp?TID=1029</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu]]></title>
   <url>http://www.erpne.org/forum_images/logotype.png</url>
   <link>http://www.erpne.org/</link>
  </image>
  <item>
   <title><![CDATA[sqlde hesaplama : Arkadasim Allah kimseyi zorda...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6257.html#6257</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 28&nbsp;Temmuz&nbsp;2008 Saat 08:44<br /><br /><P>Arkadasim Allah kimseyi zorda birakmasin(Amin). Istanbul'dayim,siteden elimden geldigimce yardimci olmaya çalisirim.</P>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 08:44:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6257.html#6257</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : merhabalar ben bursada oturuyorum...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6255.html#6255</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=1276">bluewin</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 28&nbsp;Temmuz&nbsp;2008 Saat 00:32<br /><br />merhabalar ben bursada oturuyorum ve netsis kullanmaya&nbsp; calisiyorum :) yaninda sql le sorgulama yapmaya calisiyorum&nbsp;.Fakat henüz bu konularda&nbsp; yeniyim ,isin özü&nbsp; birebir ders verecek sql bilgisi olan (ücretli yada ALLAH rizasi icin ) arkadaslar dan yardimlarini istiyorum lütfen yardimci olun ALLAH kimseyi zorda birakmasin&nbsp; .zordayim ve yardima&nbsp; son derece&nbsp; acigim <DIV>saygilarimla .koray_akcay_23@hotmail.com</DIV>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 00:32:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6255.html#6255</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama :  Bende s&#246;yle bir fonksiyon yazmistim....]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6212.html#6212</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 15:47<br /><br /><FONT color=#0000ff size=2><FONT color=#0000ff size=2><DIV>Bende söyle bir fonksiyon yazmistim. Dolara göre diger dövizlerin paritesi</DIV><DIV>USD bizdeki karsiligi =2 dir.Kullanimi</DIV><DIV><FONT size=2><P>dbo</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>parite</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'2008-07-22'</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>3</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>) //3 Sek oldugu için dolar sek paritesidir.</P><DIV>siz kullanirken dbo.parite(sthar_tarih,sthar_dövtip)*sthar_gcmik</DIV><DIV>olarak kullanabilirsiniz.</FONT></FONT></DIV></DIV><DIV>CREATE</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>function</FONT></FONT><FONT size=2> &#091;dbo&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>&#091;parite&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>@tar </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>smalldatetime</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>@Doviz </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>returns</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>28</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>8</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>as</DIV><P>begin</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>declare</FONT></FONT><FONT size=2> @USDkur </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>28</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>8</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>declare</FONT></FONT><FONT size=2> @Othkur </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>28</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>8</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>declare</FONT></FONT><FONT size=2> @parite </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>decimal</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>28</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>8</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>set</FONT></FONT><FONT size=2> @USDkur</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>select</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>top</FONT></FONT><FONT size=2> 1 dov_alis </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>from</FONT></FONT><FONT size=2> netsis</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>..</FONT></FONT><FONT size=2>doviz</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>where</FONT></FONT><FONT size=2> sira</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2> 2</P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>and</FONT></FONT><FONT size=2> tarih </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>&lt;=</FONT></FONT><FONT size=2> @tar</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ORDER</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT size=2> TARIH </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>DESC</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>set</FONT></FONT><FONT size=2> @Othkur</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>select</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>top</FONT></FONT><FONT size=2> 1 dov_alis </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>from</FONT></FONT><FONT size=2> netsis</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>..</FONT></FONT><FONT size=2>doviz</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>where</FONT></FONT><FONT size=2> sira</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2> @Doviz</P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>and</FONT></FONT><FONT size=2> tarih </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>&lt;=</FONT></FONT><FONT size=2> @tar</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ORDER</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT size=2> TARIH </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>DESC</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>set</FONT></FONT><FONT size=2> @parite</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>round</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>((</FONT></FONT><FONT size=2>@USDkur</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>/</FONT></FONT><FONT size=2>@Othkur</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>),</FONT></FONT><FONT size=2>5</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>@parite</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>end</P></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 15:47:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6212.html#6212</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : SELECT A.TARIH,DOVIZTIP,DOVIZTUT,CASE...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6208.html#6208</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 12:38<br /><br />SELECT A.TARIH,DOVIZTIP,DOVIZTUT,CASE WHEN DOVIZTIP='1' THEN DOVIZTUT WHEN DOVIZTIP='7' THEN <br>DOVIZTUT*(EURO_AL/USD_AL) END AS USD_TUTAR<br>FROM TBLFATUIRS A,NETSIS..MV_DVZKUR B<br>WHERE A.TARIH=B.TARIH<br><br>yukarida '7' olan bizde EURO'ya karsilik geliyor sizde farkli bir deger olabilir, '1' ise USD'ye<br>kolay gelsin<br>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 12:38:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6208.html#6208</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : Tesekk&#252;rler Mehmet Bey,&#231;ok yardimci...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6207.html#6207</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=199">burakerdemir</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 12:34<br /><br />Tesekkürler Mehmet Bey,çok yardimci olacak bu view. peki ben bunda euro/dolar paritesini nasil hesapliyabilirim?<br><br>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 12:34:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6207.html#6207</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : ben NETSIS veritabaninda s&#246;yle...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6206.html#6206</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 12:26<br /><br />ben NETSIS veritabaninda söyle bir view olustudum öncelikle<br><br>CREATE VIEW &#091;dbo&#093;.&#091;MV_DVZKUR&#093; AS <br>SELECT&nbsp;&nbsp;&nbsp;&nbsp; dbo.DOVIZ.TARIH,dbo.KUR.BIRIM,<br>SUM(case WHEN LEFT(dbo.KUR.ISIM,3)='USD' THEN DOV_ALIS ELSE 0 END) AS USD_AL,<br>SUM(CASE WHEN LEFT(dbo.KUR.ISIM,3)='EUR' THEN DOV_ALIS ELSE 0 END) AS EURO_AL,<br>SUM(case WHEN LEFT(dbo.KUR.ISIM,3)='USD' THEN DOV_SATIS ELSE 0 END) AS USD_SAT,<br>SUM(CASE WHEN LEFT(dbo.KUR.ISIM,3)='EUR' THEN DOV_SATIS ELSE 0 END) AS EURO_SAT<br><br>FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.DOVIZ INNER JOIN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.KUR ON dbo.DOVIZ.SIRA = dbo.KUR.SIRA and dbo.DOVIZ.TARIH &gt; '2001-12-31' <br>AND LEFT(dbo.KUR.ISIM,3) IN ('USD','EUR')<br><br>GROUP BY TARIH,BIRIM<br><br>bu view'i istedigim tablolara/view'lar TARIH sütunu ile baglayarak kullaniyorum<br>buradaki sütunlarda USD_AL, USD_SAT ve EUR_AL, EUR_SAT sütunlarini kullaniyorum<br>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 12:26:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6206.html#6206</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : be yazdigim &#246;rnegi netsis&amp;#039;in...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6205.html#6205</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=199">burakerdemir</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 12:22<br /><br />be yazdigim örnegi netsis'in kendi bir view'inden almistim. sizin yaptiginiz gibi düzenledim. aldigim hata Invalid column name 'DOLARTUTAR'<br><br>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 12:22:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6205.html#6205</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : yazim hatasi var gibi geliyor...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6204.html#6204</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 12:16<br /><br />yazim hatasi var gibi geliyor dogrusu,<br>(CASE WHEN TBLFATUIRS.DOVIZTIP='1' THEN TBLFATUIRS.DOVIZTUT WHEN TBLFATUIRS.DOVIZTIP='2' THEN TBLFATUIRS.DOVIZTUT * DOVIZ.DOV_SATIS END)<br>seklinde olmali.<br><br>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 12:16:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6204.html#6204</guid>
  </item> 
  <item>
   <title><![CDATA[sqlde hesaplama : Merhaba Arkadaslar,sqlde rahat&#231;a...]]></title>
   <link>http://www.erpne.org/sqlde-hesaplama_topic1029_post6202.html#6202</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=199">burakerdemir</a><br /><strong>Konu:</strong> 1029<br /><strong>Gönderim Zamanı:</strong> 22&nbsp;Temmuz&nbsp;2008 Saat 12:07<br /><br />Merhaba Arkadaslar,<br>sqlde rahatça view hazirliyabiliyorum ama hesaplama nasil yapabilirim bilmiyorum. anlik satislari görmek için bir view hazirladim. onunla excel pivot table ile verileri çekiyorum. ama degisik döviz türü olan satislari tek bir döviz türüne dönüstürmek için viewde nasil bir hesaplama yapabilirim? <br>viewde FATUIRS, CASABIT ve DOVIZ table'larini ekledim. burda amacim euro ile olan satislarin dolar karsiliklarini bulmak. çok basit bir cümle yazdim ama mantik olarakda çalismayacagini da bilmiyorum. ama deneme yanilma yöntemiyle bulmaya çalisiyorum. <br>cümle söyleydi;<br>(CASE TBLFATUIRS.DOVIZTIP WHEN '1' THEN TBLFATUIRS.DOVIZTUT WHEN '2' THEN TBLFATUIRS.DOVIZTUT * DOVIZ.DOV_SATIS END)<br>bu dolarida bulmuyor ama hesaplama mantigini bulmaya çalisiyorum. yardimlariniz için simdiden tesekkürler<br>&nbsp;<br>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 12:07:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sqlde-hesaplama_topic1029_post6202.html#6202</guid>
  </item> 
 </channel>
</rss>