<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2427622159712348650</id><updated>2012-02-01T11:15:16.909+02:00</updated><category term='DBF'/><category term='PLN'/><category term='Framework 3.5'/><category term='LBS'/><category term='MySQL'/><category term='MS Access'/><category term='JSP'/><category term='Framework 2.0'/><category term='Logo Object Designer'/><category term='Extension'/><category term='ASP'/><category term='Logo IK'/><category term='Sybase'/><category term='IIS Server'/><category term='DevExpress'/><category term='Oracle'/><category term='AjaxToolkit'/><category term='PERL'/><category term='Google'/><category term='Programming'/><category term='LDAP'/><category term='Tiger'/><category term='ASP.NET'/><category term='C#'/><category term='C++'/><category term='PHP'/><category term='Ascii'/><category term='PostgreSQL'/><category term='Active Directory'/><category term='Delphi'/><category term='HTML'/><category term='Visual Basic'/><category term='Unity'/><category term='Certificate'/><category term='MS-SQL'/><category term='Internet Explorer'/><category term='ColdFusion'/><category term='Java Script'/><category term='Logo Bordro'/><category term='Report Viewer'/><title type='text'>Serkan Sonmez's Diary</title><subtitle type='html'>ASP.NET, C#, Delphi, MS-SQL , AjaxToolkit ,  PostgreSQL , Oracle , Progress , T/SQL , PL/SQL, Unity, Logo Object Designer, Software, Web Service, .NET Framework, Sybase</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default?start-index=101&amp;max-results=100'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>194</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1891185298767692324</id><published>2012-02-01T11:15:00.000+02:00</published><updated>2012-02-01T11:15:16.922+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Logo Bordro'/><title type='text'>Logo Bordro Veritabanı tabloları listesi</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 64px;"&gt;&lt;tbody&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td height="17" style="height: 12.75pt; width: 48pt;" width="64"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;TABLO ADI &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AÇIKLAMA&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 365px;"&gt;&lt;colgroup&gt;&lt;col style="mso-width-alt: 4498; mso-width-source: userset; width: 92pt;" width="123"&gt;&lt;/col&gt;&lt;col style="mso-width-alt: 8850; mso-width-source: userset; width: 182pt;" width="242"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;&lt;td class="xl65" height="17" style="height: 12.75pt; width: 92pt;" width="123"&gt;&lt;br /&gt;&lt;/td&gt;   &lt;td class="xl65" style="border-left: none; width: 182pt;" width="242"&gt;&lt;br /&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;L_PERSONEL&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Çalışma Alanı   Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;L_SYSLOG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kullanıcı Kaydı   İzleme&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;L_LOGREP&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Log Records&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_ROLLPAR&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Bordro Parametreleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PAYELEM&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Genel Çalışma   Parametreleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_FIRMPAR&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kurum çalışma   parametreleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_WORKFLAG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Mesai bağlantıları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_LAWPAR&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kanun Parametreleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_USERTAB&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kullanıcı/kanun   parametre tab&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_TYPEDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Tip tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_DEFAULT&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Öndeğer tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_QCODE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kullanıcı tanımlı   kodlar&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERSON&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil Kartı&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERIDINF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Nüfus Cüzdanı   bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFIN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil Mali bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_LAWCHG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kanuni değişiklikler&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERHIST&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil tarihçesi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PEREXPR&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Deneyim Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PWORKFLG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Personel Ödeme   Kesinti Bağlant&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CONTACT&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Erişim bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_HEALTH&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sağlık Hareketleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_FAMILY&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil Aile Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_RELATION&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil yakınlık   İlişkileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_TRANS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;TTF Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERJOBD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Personel iş tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_ASSIGN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Atamalar&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERQUALF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil Nitelik   Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFIXR&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil demirbaş   kayıtları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERSPECD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil Özel gün   satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PNTCARD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Puantaj Kartı&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PNTLINE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Puantaj Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PNTTEMP&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Puantaj Hesap Şablonu&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PNTDEFS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Puantaj öndeğerleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PDEFLINE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Puantaj Öndeğer   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PAYPERD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Bordro Dönem   Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERDPAYM&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Dönem Ödemeleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_LOANDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Borç tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERLOAN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Borç takip kayıtları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_JOBDESC&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İş tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_JOBDLINE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İş tanım satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_POSJOBDL&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Pozisyon iş tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_RANKDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Derece Basamak   Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_STAFF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kadro tanım kaydı&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CARPLANS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kariyer Planı&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Performans Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFPERD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Dönemsel performans   değerlend&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Performans   Değerlendirme Satır&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCPLAN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim Plan Detay   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCPRE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim Önkoşul   tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCREG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim Kayıtları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PEREDUC&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Personel eğitim   kayıtları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCEVAL&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim   değerlendirmesi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_INSTDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitmen tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCPLC&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim yeri tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCREQ&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim talepleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCQLF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim Nitelik   İlişkisi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_REMINDER&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Hatırlatıcı&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_QUALFDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Nitelik Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_FIXREG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Demirbaş Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EXPENSE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Masraf kayıtları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_SPECDAY&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Özel gün tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPRJ&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Başvuru projeleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPRJLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Başvuru proje   adım/aşamaları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APNOTICE&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Başvuru/duyuru   planları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPWORKS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Başvurulan İşler&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERREQ&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Açık kadro talepleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPRJREQ&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İhtiyaç belirleme&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPNOM&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Proje başvuru   bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPLET&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kayıtlı mektuplar&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_GENINFO&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Genel Bilgiler&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_ERROR&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Bakım bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCREL&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim ilişkileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERDDEF&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Performans Dönem   Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFGRD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Performans   Değerlendirme&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_FISERV&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Fiili itibari   hizmetler&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERAWARD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Personel Ödül/Ceza   Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERPAY&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Ödeme Kesinti   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_STAFFENT&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kadro/pozisyon   kartları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_STAFHIST&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kadro/pozisyon   tarihçesi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFTRGT&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Performans Hedef   Grupları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PNTLNDET&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Puantaj farkı detay   satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_DIFFCARD&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İntibak kartı&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_JOBFAMLY&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İş ailesi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_JOBFAMLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İş ailesi üyeleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CARMATRX&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kariyer matrisi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CPTRGLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kariyer planı   hedefleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CPINTSLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kar. Planı   Yetk.Başl.Düzeyleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CPEDUCLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kar.Planı Gelişim   Faaliyetleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CPQLFLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kar.Planı Yetkinlik   Gelişimi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CPINTLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kariyer planı   görüşmeler&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CARSUGS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kariyer önerileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PERFSUM&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Performans Özet   Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_ACTIVITY&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Aktivite tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_VACGROUP&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İzin grup tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_VACGRPLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İzin grup satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CRITCGRP&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kritik grup tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_CRIGRPLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Kritik Grup Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_TIMEPLAN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Zaman Planlama   Kayıtları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_ACTPLNLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Aktivite Plan   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_VACTRANS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;İzin devir bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_WORKDAYS&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Çalışma Günleri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_EDUCFIRM&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Eğitim Kurumları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_APPNTCLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Görüşme/test   satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_WORKCAL&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Çalışma Takvimi&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_WORKCALLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Çalışma Takvimi   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_SIMINFO&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Sicil Emsal Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PRJREG&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Proje Takibi   Bilgileri&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_PRJPLNLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Proje Aktivite   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_RIGHTGRP&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Yetki Grubu Tanımları&lt;/td&gt;  &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td class="xl66" height="17" style="border-top: none; height: 12.75pt;"&gt;LH_RIGHTGLN&lt;/td&gt;   &lt;td class="xl66" style="border-left: none; border-top: none;"&gt;Yetki Grubu Tanım   Satırları&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 64px;"&gt;&lt;tbody&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;   &lt;td height="17" style="height: 12.75pt; width: 48pt;" width="64"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1891185298767692324?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1891185298767692324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1891185298767692324&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1891185298767692324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1891185298767692324'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2012/02/logo-bordro-veritaban-tablolar-listesi.html' title='Logo Bordro Veritabanı tabloları listesi'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4957516752325163410</id><published>2011-12-24T09:26:00.000+02:00</published><updated>2011-12-24T09:26:28.002+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DevExpress'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Devepress ASPxGrid üzerinde Delete/İnsert/Update butonunu gizlemek</title><content type='html'>&lt;div style="background-color: white;"&gt;&lt;span style="color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: x-small;"&gt;&lt;span style="line-height: 17px;"&gt;Devepress ASPxGridView üzerinde kullanıcı bazında Delete/İnsert/Update butonunu gizlemek gerekebilir. Bu işlemi yapmak için aşağıdaki kod kullanılabilir.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: white;"&gt;&lt;span style="color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: x-small;"&gt;&lt;span style="line-height: 17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/-p2_FOiTV3g8/TvV9DbCeugI/AAAAAAAAAms/u6Db6lG6PF8/s1600/GridbuttonHide.gif" imageanchor="1" style="clear: left; color: #2a2a2a; float: left; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="128" src="http://4.bp.blogspot.com/-p2_FOiTV3g8/TvV9DbCeugI/AAAAAAAAAms/u6Db6lG6PF8/s640/GridbuttonHide.gif" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;protected void ASPxGridView1_CommandButtonInitialize(object sender, ASPxGridViewCommandButtonEventArgs e)&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (e.ButtonType == DevExpress.Web.ASPxGridView.ColumnCommandButtonType.Delete)&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.Visible = false;&lt;/div&gt;&lt;div style="background-color: white; color: #2a2a2a; font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 13px; line-height: 17px;"&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4957516752325163410?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4957516752325163410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4957516752325163410&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4957516752325163410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4957516752325163410'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2011/12/devepress-aspxgrid-uzerinde.html' title='Devepress ASPxGrid üzerinde Delete/İnsert/Update butonunu gizlemek'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-p2_FOiTV3g8/TvV9DbCeugI/AAAAAAAAAms/u6Db6lG6PF8/s72-c/GridbuttonHide.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7123568982801476155</id><published>2011-06-08T09:51:00.000+03:00</published><updated>2011-06-08T09:51:15.419+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>ERROR: The name "UserName" does not exits int the current context? in C sharp</title><content type='html'>PROBLEM: &lt;br /&gt;&lt;br /&gt;ERROR: The name "UserName" does not exits int the current context?&lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;The name 'UserName' does not exist in the current context?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Left-Click in the "yourUserControl.cs" (solution explorer)&lt;br /&gt;&lt;br /&gt;2. Select Properties&lt;br /&gt;&lt;br /&gt;3. Change Build Action to "Embededd Resource"&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7123568982801476155?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7123568982801476155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7123568982801476155&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7123568982801476155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7123568982801476155'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2011/06/error-name-username-does-not-exits-int.html' title='ERROR: The name &quot;UserName&quot; does not exits int the current context? in C sharp'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8138421110881679102</id><published>2011-02-22T10:12:00.000+02:00</published><updated>2011-02-22T10:12:57.136+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><category scheme='http://www.blogger.com/atom/ns#' term='Tiger'/><title type='text'>Logo Tiger'da yeni dönem açma hatası: Tarihler Mali yıl başlangıcı ile uyumlu değil</title><content type='html'>Logo Tiger'da Tiger2sys ile&amp;nbsp;yeni bir dönem açılırken&amp;nbsp;"Tarihler Mali yıl başlangıcı ile uyumlu değil" hatası geldiğinde;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-xgZM1_Hkync/TWNuPnNXcvI/AAAAAAAAAmg/3_RixtUbufc/s1600/TarihlerUyumluDegil.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" j6="true" src="http://2.bp.blogspot.com/-xgZM1_Hkync/TWNuPnNXcvI/AAAAAAAAAmg/3_RixtUbufc/s320/TarihlerUyumluDegil.jpg" width="290" /&gt;&lt;/a&gt;&lt;/div&gt;Bu hata, önceki dönemin başlangıç zamanının&amp;nbsp;&amp;nbsp;yılbaşından başlamadığı durumlarda görülür. &lt;br /&gt;Yeni yılda 1 Ocak'tan dönemi başlatabilmek için aşağıdaki sql cümlecikleri ile ;&lt;br /&gt;&lt;br /&gt;SELECT * FROM L_CAPIFIRM WHERE NR=47&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--ilk sorguyla firmanın LOGICALREF'i bulunur&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--UPDATE L_CAPIFIRM SET BEGMON=1,BEGDAY=1 WHERE LOGICALREF=218&lt;br /&gt;&lt;br /&gt;--ikinci sorguyla başlangıç gün ve ay bilgisi 1 olarak update edilir. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Bu işlemleri yaptıktan sonra yeni dönemi tiger2sys üzerinden açabilirsiniz.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8138421110881679102?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8138421110881679102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8138421110881679102&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8138421110881679102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8138421110881679102'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2011/02/logo-tigerda-yeni-donem-acma-hatas.html' title='Logo Tiger&apos;da yeni dönem açma hatası: Tarihler Mali yıl başlangıcı ile uyumlu değil'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-xgZM1_Hkync/TWNuPnNXcvI/AAAAAAAAAmg/3_RixtUbufc/s72-c/TarihlerUyumluDegil.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2211006271909905441</id><published>2010-12-31T15:46:00.000+02:00</published><updated>2010-12-31T15:46:33.373+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>C sharp Türkçe karakter kontrol metodu</title><content type='html'>Eğer veritabanına Türkçe karakter yazmak istemiyorsanız, aşağıdaki metodu kullanabilirsiniz.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;&lt;blockquote&gt;&lt;span style="color: #38761d;"&gt;Kullanımı:&lt;/span&gt;&lt;br /&gt;_Name += "MAIL_METIN,";&lt;br /&gt;_Values += "'" + Tools.TurkceKarakterleriKaldir(HTMLCode) + "',";&amp;nbsp;&lt;/blockquote&gt;public static string TurkceKarakterleriKaldir(string EskiMetin) &lt;br /&gt;{&lt;br /&gt;string YeniMetin = "";&lt;br /&gt;string TurkceKarakterler="şŞçÇüÜİıöÖğĞ";&lt;br /&gt;string YeniKarakterler ="sScCuUIioOgG";&lt;br /&gt;for (int i = 0; i &amp;lt; EskiMetin.Length; i++)&lt;br /&gt;{&lt;br /&gt;bool Varmi = false;&lt;br /&gt;for (int k = 0; k &amp;lt; TurkceKarakterler.Length; k++)&lt;br /&gt;{&lt;br /&gt;if (EskiMetin[i] == TurkceKarakterler[k])&lt;br /&gt;{&lt;br /&gt;YeniMetin += YeniKarakterler[k];&lt;br /&gt;Varmi = true;&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;if (!Varmi)&lt;br /&gt;{&lt;br /&gt;YeniMetin += EskiMetin[i];&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;return YeniMetin;&lt;br /&gt;}&lt;/span&gt;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2211006271909905441?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2211006271909905441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2211006271909905441&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2211006271909905441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2211006271909905441'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/12/c-sharp-turkce-karakter-kontrol-metodu.html' title='C sharp Türkçe karakter kontrol metodu'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4283535012677716706</id><published>2010-09-03T17:24:00.002+03:00</published><updated>2010-09-03T17:24:59.821+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tiger'/><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Tiger'da Cari Hesaba Muhasebe hesap kodunu otomatik olarak aktarmak</title><content type='html'>Tiger'da Cari Hesaba Muhasebe hesap kodunu otomatik olarak aktarmak için aşağıdaki SQL scriptini çalıştırabilirsiniz.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DECLARE @carilref INT&lt;br /&gt;DECLARE @carimuhlref INT&lt;br /&gt;DECLARE @muhlref INT&lt;br /&gt;DECLARE @carikodu varchar(50)&lt;br /&gt;DECLARE @definiti varchar(50)&lt;br /&gt;DECLARE @muhasebekodu varchar(50)&lt;br /&gt;&lt;br /&gt;DECLARE @carimuhlref2 INT&lt;br /&gt;DECLARE @muhlref2 INT&lt;br /&gt;DECLARE @lastCarimuhSeq INT&lt;br /&gt;&lt;br /&gt;DECLARE @eksikkayitsayisi INT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DECLARE processes CURSOR FOR&lt;br /&gt;SELECT  CARI.LOGICALREF,CARI.CODE AS CARI_KODU,CARIMUH.LOGICALREF AS CARIMUH_LREF,MUH.CODE AS MUHASEBE_KODU FROM LG_107_CLCARD CARI WITH (NOLOCK)&lt;br /&gt;LEFT OUTER JOIN LG_107_CRDACREF CARIMUH WITH (NOLOCK) ON   CARIMUH.CARDREF=CARI.LOGICALREF AND CARIMUH.TRCODE = 5&lt;br /&gt;LEFT OUTER JOIN LG_107_EMUHACC MUH WITH (NOLOCK) ON   CARIMUH.ACCOUNTREF=MUH.LOGICALREF&lt;br /&gt;WHERE (MUH.CODE&lt;&gt;CARI.CODE OR MUH.CODE IS NULL) and SUBSTRING(CARI.CODE,5,2) = '47' AND CARI.CARDTYPE&lt;&gt;22 and  CARI.CODE NOT LIKE '25%'  ORDER BY CARI.CODE&lt;br /&gt;&lt;br /&gt;OPEN processes&lt;br /&gt;FETCH NEXT FROM processes&lt;br /&gt;INTO @carilref,@carikodu,@carimuhlref,@muhasebekodu&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;    --ilk olarak LG_107_CRDACREF tablosunda kayıt var mı kontrol edilecek. eğer varsa ve muhasebe kodu yok veya hatalıysa muhasebe tablosundan&lt;br /&gt;    --kayıt aktarılacak.  &lt;br /&gt;    set @muhlref2 = 0 &lt;br /&gt;    &lt;br /&gt;    SELECT @muhlref2=LOGICALREF FROM LG_107_EMUHACC where CODE = @carikodu&lt;br /&gt;    if @muhlref2 = 0 &lt;br /&gt;    begin    &lt;br /&gt;        insert into #EksikKayitTableGintem (Firma,CariKodu) values (107,@carikodu) &lt;br /&gt;    end&lt;br /&gt;    else    &lt;br /&gt;    begin&lt;br /&gt;        if @carimuhlref IS NOT  NULL&lt;br /&gt;        begin&lt;br /&gt;              &lt;br /&gt;             UPDATE [LG_107_CRDACREF]&lt;br /&gt;       SET&lt;br /&gt;        [TRCODE] = 5&lt;br /&gt;       ,[ACCOUNTREF] = @muhlref2&lt;br /&gt;     WHERE [LOGICALREF] = @carimuhlref&lt;br /&gt;            print 'update' + cast(@carimuhlref as varchar(20))&lt;br /&gt;        end &lt;br /&gt;        ELSE &lt;br /&gt;        BEGIN&lt;br /&gt;     print 'insert' + cast(@carimuhlref as varchar(20))  &lt;br /&gt;              SELECT  @lastCarimuhSeq = LASTLREF from LG_107_CRDACREFSEQ where ID=1&lt;br /&gt;     UPDATE  LG_107_CRDACREFSEQ SET LASTLREF = @lastCarimuhSeq + 1 WHERE ID=1&lt;br /&gt;     INSERT INTO [LG_107_CRDACREF]&lt;br /&gt;         ([LOGICALREF],[TRCODE],[CARDREF],[TYP],[ACCOUNTREF],[CENTERREF],[SITEID],[RECSTATUS],[ORGLOGICREF],[PROJECTREF])&lt;br /&gt;      VALUES (@lastCarimuhSeq ,5 ,@carilref,1 ,@muhlref2 ,1 ,0,0,0 ,0) &lt;br /&gt;        END   &lt;br /&gt;    end    &lt;br /&gt;    &lt;br /&gt;    --PRINT cast(@muhlref2 as varchar(20)) + '-' + @carikodu&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM processes&lt;br /&gt;INTO @carilref,@carikodu,@carimuhlref,@muhasebekodu&lt;br /&gt;END&lt;br /&gt;CLOSE processes&lt;br /&gt;DEALLOCATE processes&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4283535012677716706?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4283535012677716706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4283535012677716706&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4283535012677716706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4283535012677716706'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/09/tigerda-cari-hesaba-muhasebe-hesap.html' title='Tiger&apos;da Cari Hesaba Muhasebe hesap kodunu otomatik olarak aktarmak'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8864690309930014618</id><published>2010-03-25T10:00:00.000+02:00</published><updated>2010-03-25T10:00:38.241+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How to check if column exists in SQL Server table</title><content type='html'>CREATE FUNCTION ColumnExists(@TableName varchar(100), @ColumnName varchar(100)) &lt;br /&gt;RETURNS varchar(1) AS &lt;br /&gt;BEGIN &lt;br /&gt;DECLARE @Result varchar(1); &lt;br /&gt;IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.Columns WHERE TABLE_NAME = @TableName AND COLUMN_NAME = @ColumnName) &lt;br /&gt;BEGIN &lt;br /&gt;    SET @Result = 'T' &lt;br /&gt;END &lt;br /&gt;ELSE &lt;br /&gt;BEGIN &lt;br /&gt;    SET @Result = 'F' &lt;br /&gt;END &lt;br /&gt;RETURN @Result; &lt;br /&gt;END &lt;br /&gt;GO &lt;br /&gt; &lt;br /&gt;GRANT EXECUTE ON  [ColumnExists] TO [whoever] &lt;br /&gt;GO &lt;br /&gt;&lt;br /&gt;&lt;b&gt;USAGE:&lt;/b&gt;&lt;br /&gt;IF ColumnExists(&lt;b&gt;'LG_107_SPECODES'&lt;/b&gt;, '&lt;b&gt;MARKA&lt;/b&gt;') = 'F' &lt;br /&gt;BEGIN &lt;br /&gt;  ALTER TABLE &lt;b&gt;LG_107_SPECODES&lt;/b&gt; &lt;br /&gt;  ADD &lt;b&gt;MARKA&lt;/b&gt; varChar(50) NOT NULL &lt;br /&gt;END &lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8864690309930014618?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8864690309930014618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8864690309930014618&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8864690309930014618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8864690309930014618'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/03/how-to-check-if-column-exists-in-sql.html' title='How to check if column exists in SQL Server table'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8272408740067786549</id><published>2010-03-11T14:53:00.000+02:00</published><updated>2010-03-11T14:53:34.342+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Logo Bordro'/><category scheme='http://www.blogger.com/atom/ns#' term='Logo IK'/><title type='text'>Tiger2 Bordro Asgari Geçim İndirimi Hatası</title><content type='html'>Tiger2 Bordro programında Asgari Geçim İndirimde çıkan sorun için Aile bireyleri tablosunu kontrol ederek FAMILYHIST tablosuna kayıt açan SQL scripti.  &lt;br /&gt;Not: Bu scripti çalıştırmadan önce FAMILYHIST tablosunun yedeğini alınız.&lt;br /&gt;Örnek yedek alma komutu SELECT * INTO LH_001_FAMILYHIST_20100310 FROM LH_001_FAMILYHIST&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Personel'e ait aile bireyleri girişini düzenler&lt;br /&gt;DECLARE @FamilyLref INT&lt;br /&gt;DECLARE @PersonLref INT&lt;br /&gt;DECLARE @Support INT&lt;br /&gt;DECLARE @LastSeq INT&lt;br /&gt;DECLARE @IsAvail INT&lt;br /&gt;DECLARE @Donem DATETIME&lt;br /&gt;SET @Donem='20100201'&lt;br /&gt;DECLARE processes CURSOR FOR&lt;br /&gt;SELECT&lt;br /&gt;dbo.LH_001_FAMILY.LREF AS FAMILY_LREF,&lt;br /&gt;dbo.LH_001_PERSON.LREF AS PERSON_LREF,&lt;br /&gt;dbo.LH_001_FAMILY.SUPPORTED AS SUPPORT&lt;br /&gt;FROM dbo.LH_001_PERIDINF RIGHT OUTER JOIN&lt;br /&gt;dbo.LH_001_FAMILY ON dbo.LH_001_PERIDINF.LREF = dbo.LH_001_FAMILY.IDREF RIGHT OUTER JOIN&lt;br /&gt;dbo.LH_001_PERSON ON dbo.LH_001_FAMILY.PERREF = dbo.LH_001_PERSON.LREF &lt;br /&gt;WHERE dbo.LH_001_PERSON.FIRMNR = 382 &lt;br /&gt;OPEN processes&lt;br /&gt;FETCH NEXT FROM processes&lt;br /&gt;INTO @FamilyLref,@PersonLref,@Support&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;SET @IsAvail = 0&lt;br /&gt;SELECT @IsAvail = LREF FROM [LH_001_FAMILYHIST] where [CARDREF] = @FamilyLref AND [BEGDATE] = @Donem&lt;br /&gt;IF @IsAvail = 0 &lt;br /&gt;BEGIN&lt;br /&gt;print @FamilyLref&lt;br /&gt;SELECT @LastSeq = LASTLREF from LH_001_FAMILYHISTSEQ where ID=1&lt;br /&gt;UPDATE dbo.LH_001_FAMILYHISTSEQ SET LASTLREF = @LastSeq + 1 WHERE ID=1&lt;br /&gt;INSERT INTO [bordro_db].[dbo].[LH_001_FAMILYHIST] ([LREF],[BEGDATE],[ENDDATE],[CARDREF],[SUPPORTED],[INJUREDEGREE],[MINWGDISCSTAT],[ORGLOGICREF],[RECSTATUS],[SITEID])&lt;br /&gt;VALUES(@LastSeq,@Donem,NULL,@FamilyLref,@Support,0,1,0,0,0)&lt;br /&gt;END &lt;br /&gt;FETCH NEXT FROM processes&lt;br /&gt;INTO @FamilyLref,@PersonLref,@Support&lt;br /&gt;END&lt;br /&gt;CLOSE processes&lt;br /&gt;DEALLOCATE processes&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8272408740067786549?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8272408740067786549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8272408740067786549&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8272408740067786549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8272408740067786549'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/03/tiger2-bordro-asgari-gecim-indirimi.html' title='Tiger2 Bordro Asgari Geçim İndirimi Hatası'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3518846256761921745</id><published>2010-02-17T10:02:00.001+02:00</published><updated>2011-09-07T13:37:03.510+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LBS'/><category scheme='http://www.blogger.com/atom/ns#' term='Report Viewer'/><title type='text'>LVF dosyası nasıl açılır?</title><content type='html'>LVF dosyası Logo tarafından üretilen programlarda oluşturulmuş rapor çıktısı formatıdır. Bu dosyayı açmak için Logo tarafından verilen kurulum CD'sinde Report Viewer programını bulabilirsiniz.&lt;br /&gt;&lt;br /&gt;Elinizde CD yoksa aşağıdaki linkten gerekli Report Viewer programını indirip LVF dosyasını açabilirsiniz.&lt;br /&gt;&lt;br /&gt;Programlar:&lt;br /&gt;Report Viewer&lt;br /&gt;LVF Linki:&lt;br /&gt;&lt;a href="ftp://download.logo.com.tr/Windows/TOOLS/tools/ReportViewer.rar"&gt;ftp://download.logo.com.tr/Windows/TOOLS/tools/ReportViewer.rar&lt;/a&gt;&lt;a href="ftp://download.logo.com.tr/tools/ReportViewer.rar"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Örnek&amp;nbsp;Program Görünümü:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_f9DHGDBJO6c/S3uifkEj0hI/AAAAAAAAAgM/Cj2KS_8ez0c/s1600-h/reportviewer.GIF" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" ct="true" height="240" src="http://3.bp.blogspot.com/_f9DHGDBJO6c/S3uifkEj0hI/AAAAAAAAAgM/Cj2KS_8ez0c/s640/reportviewer.GIF" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3518846256761921745?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3518846256761921745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3518846256761921745&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3518846256761921745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3518846256761921745'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/02/lvf-dosyas-nasl-aclr.html' title='LVF dosyası nasıl açılır?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_f9DHGDBJO6c/S3uifkEj0hI/AAAAAAAAAgM/Cj2KS_8ez0c/s72-c/reportviewer.GIF' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>Bursa, Türkiye</georss:featurename><georss:point>40.18257 29.066869999999994</georss:point><georss:box>40.1154715 28.891066499999994 40.2496685 29.242673499999995</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6014421631934857140</id><published>2010-02-15T08:52:00.001+02:00</published><updated>2010-02-15T08:55:52.430+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><category scheme='http://www.blogger.com/atom/ns#' term='LBS'/><category scheme='http://www.blogger.com/atom/ns#' term='Tiger'/><title type='text'>Tiger/Unity'deki tarih bilgisinin çevrim işlemleri</title><content type='html'>&lt;strong&gt;&lt;span style="font-size: large;"&gt;Tiger/Unity veritabanında integer olarak tutulan tarih bilgisininin datetime'a çeviren fonksiyon.&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;em&gt;CREATE FUNCTION fn_LogoDatetoSystemDate (@DEGER INT) &lt;br /&gt;RETURNS datetime&lt;/em&gt;&lt;br /&gt;&lt;em&gt;AS&lt;/em&gt;&lt;br /&gt;&lt;em&gt;BEGIN&lt;/em&gt;&lt;br /&gt;&lt;em&gt;DECLARE @GUN VARCHAR(2), @AY VARCHAR(2), @YIL VARCHAR(4)&lt;/em&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;em&gt;DECLARE @SONUC datetime&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SELECT&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@GUN=CAST((CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)-(CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)/256*256)) AS VARCHAR(3))&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SELECT&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@AY=CAST(((CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)-(65536*(CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)/65536)))-(CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)-(CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)/256*256)))/256 AS VARCHAR(3))&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SELECT&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@YIL=CAST((CONVERT(INT,CONVERT(BINARY,@DEGER,2),0)/65536) AS VARCHAR(6))&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @GUN=CASE WHEN LEN(@GUN)&amp;lt;2 THEN '0'+@GUN ELSE @GUN END&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @AY=CASE WHEN LEN(@AY)&amp;lt;2 THEN '0'+@AY ELSE @AY END&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SONUC:&lt;/em&gt;&lt;br /&gt;&lt;em&gt;IF @DEGER&amp;lt;&amp;gt;0&lt;/em&gt;&lt;br /&gt;&lt;em&gt;BEGIN&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @SONUC=CONVERT(DATETIME, @YIL + '-' + @AY + '-' + @GUN + ' 00:00:00', 102)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;END&lt;/em&gt;&lt;br /&gt;&lt;em&gt;IF @DEGER=0&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @SONUC= NULL&lt;/em&gt;&lt;br /&gt;&lt;em&gt;RETURN @SONUC&lt;/em&gt;&lt;br /&gt;&lt;em&gt;END&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: large;"&gt;Tiger/Unity için tarih bilgisinini datetime'a&amp;nbsp;integer olarak çeviren fonksiyon.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;CREATE FUNCTION fn_LogoTimetoSystemTime (@GELENDEGER INT)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;RETURNS VARCHAR(8)&lt;br /&gt;AS&lt;/em&gt;&lt;br /&gt;&lt;em&gt;BEGIN&lt;/em&gt;&lt;br /&gt;&lt;em&gt;DECLARE @SAAT VARCHAR(2), @DAKIKA VARCHAR(2), @SANIYE VARCHAR(2), @SONUC VARCHAR(8)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SELECT&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@SAAT=RTRIM(CONVERT(char(20), ROUND(@GELENDEGER / 16777216, 2))),&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@DAKIKA=RTRIM(CONVERT(char(20), ROUND((@GELENDEGER - ROUND(@GELENDEGER / 16777216, 2) * 16777216)/ 65536, 2))),&lt;/em&gt;&lt;br /&gt;&lt;em&gt;@SANIYE=RTRIM(CONVERT(char(20), ROUND((@GELENDEGER - ROUND(@GELENDEGER / 16777216, 2) * 16777216 - ROUND((@GELENDEGER - ROUND(@GELENDEGER / 16777216, 2) * 16777216) / 65536, 2) * 65536) / 256, 2)))&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @SAAT=CASE WHEN LEN(@SAAT)=1 THEN '0'+@SAAT ELSE @SAAT END &lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @DAKIKA=CASE WHEN LEN(@DAKIKA)=1 THEN '0'+@DAKIKA ELSE @DAKIKA END &lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @SANIYE=CASE WHEN LEN(@SANIYE)=1 THEN '0'+@SANIYE ELSE @SANIYE END&lt;/em&gt;&lt;br /&gt;&lt;em&gt;SET @SONUC= @SAAT + ':' +@DAKIKA + ':' + @SANIYE&lt;/em&gt;&lt;br /&gt;&lt;em&gt;RETURN @SONUC&lt;/em&gt;&lt;br /&gt;&lt;em&gt;END &lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6014421631934857140?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6014421631934857140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6014421631934857140&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6014421631934857140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6014421631934857140'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/02/tigerunitydeki-tarih-bilgisinin-cevrim.html' title='Tiger/Unity&apos;deki tarih bilgisinin çevrim işlemleri'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3589556797623418403</id><published>2010-02-10T10:54:00.001+02:00</published><updated>2010-02-15T08:39:57.860+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><category scheme='http://www.blogger.com/atom/ns#' term='LBS'/><category scheme='http://www.blogger.com/atom/ns#' term='Tiger'/><title type='text'>Logo Tiger'da Muhasebe Kodu olmayan cari kartların kontrolü</title><content type='html'>SELECT LOGICALREF,CODE, DEFINITION_, CITY FROM LG_106_CLCARD WHERE &lt;br /&gt;(LOGICALREF NOT IN (SELECT CARDREF FROM LG_106_CRDACREF WHERE (LG_106_CRDACREF.TRCODE = 5)))&lt;br /&gt;ORDER BY DEFINITION_&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3589556797623418403?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3589556797623418403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3589556797623418403&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3589556797623418403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3589556797623418403'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/02/muhasebe-kodu-olmayan-cari-kartlarn.html' title='Logo Tiger&apos;da Muhasebe Kodu olmayan cari kartların kontrolü'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5673240081529362725</id><published>2010-02-10T10:48:00.002+02:00</published><updated>2010-02-10T10:48:30.656+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><category scheme='http://www.blogger.com/atom/ns#' term='Tiger'/><title type='text'>Logo Tiger'da firma dönem bilgilerini listelemek</title><content type='html'>SELECT FRM.NR AS FIRMA_NO,FRM.NAME AS FIRMA_ADI&lt;br /&gt;DONEM.NR AS DONEM_NO FROM L_CAPIFIRM AS FRM &lt;br /&gt;INNER JOIN L_CAPIPERIOD AS DONEM ON FRM.NR=DONEM.FIRMNR&lt;br /&gt;order by FRM.NR,DONEM.NR&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5673240081529362725?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5673240081529362725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5673240081529362725&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5673240081529362725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5673240081529362725'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/02/logo-tigerda-firma-donem-bilgilerini.html' title='Logo Tiger&apos;da firma dönem bilgilerini listelemek'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5218600222746728950</id><published>2010-02-10T09:30:00.000+02:00</published><updated>2010-02-10T09:30:04.857+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Left Join with Distinct Statement in T-SQL</title><content type='html'>&lt;span style="font-size: large;"&gt;Problem:&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;SQL Left Join, it return multiple rows of the same items. I tried DISTINCT but that didnt work because its on Left Join. So my question how to add DISTINCT to Left Join?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;SELECT *&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;FROM dbo.LG_106_10_STLINE (NOLOCK) INNER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.LG_106_ITEMS (NOLOCK) ON dbo.LG_106_10_STLINE.STOCKREF = dbo.LG_106_ITEMS.LOGICALREF LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.LG_106_10_STFICHE (NOLOCK) ON dbo.LG_106_10_STLINE.STFICHEREF = dbo.LG_106_10_STFICHE.LOGICALREF LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.LG_106_CLCARD (NOLOCK) ON dbo.LG_106_10_STFICHE.CLIENTREF = dbo.LG_106_CLCARD.LOGICALREF LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.L_CAPIDIV (NOLOCK) ON dbo.LG_106_10_STFICHE.BRANCH = dbo.L_CAPIDIV.NR LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;strike&gt;dbo.LG_106_SPECODES (nolock) LG_106_SPECODES_1&lt;/strike&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-size: x-small;"&gt;--This is I Changed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="background-color: white; color: red;"&gt;(select &lt;strong&gt;&lt;em&gt;DISTINCT&lt;/em&gt;&lt;/strong&gt; dbo.LG_106_SPECODES.SPECODE,dbo.LG_106_SPECODES.DEFINITION_ FROM dbo.LG_106_SPECODES (NOLOCK)) LG_106_SPECODES_1&lt;/span&gt; ON dbo.LG_106_ITEMS.STGRPCODE = LG_106_SPECODES_1.SPECODE LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.L_TRADGRP (NOLOCK) ON dbo.LG_106_10_STFICHE.TRADINGGRP = dbo.L_TRADGRP.GCODE LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.LG_106_SPECODES LG_106_SPECODES_2 (NOLOCK) ON dbo.LG_106_10_STLINE.DELVRYCODE = LG_106_SPECODES_2.SPECODE LEFT OUTER JOIN &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;LG_106_PROJECT (NOLOCK) ON LG_106_10_STLINE.PROJECTREF = LG_106_PROJECT.LOGICALREF LEFT OUTER JOIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;dbo.LG_106_10_INVOICE (NOLOCK) ON dbo.LG_106_10_STFICHE.INVOICEREF = dbo.LG_106_10_INVOICE.LOGICALREF&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;WHERE (dbo.LG_106_10_STFICHE.TRCODE IN (12)) AND &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;(LG_106_SPECODES_2.SPECODETYPE IS NULL OR LG_106_SPECODES_2.SPECODETYPE = 0) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;AND (dbo.L_CAPIDIV.FIRMNR = 106)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5218600222746728950?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5218600222746728950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5218600222746728950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5218600222746728950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5218600222746728950'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/02/left-join-with-distinct-statement-in-t.html' title='Left Join with Distinct Statement in T-SQL'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6206220590314732603</id><published>2010-01-20T08:26:00.000+02:00</published><updated>2010-01-20T08:26:24.282+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>I want to get ASCII value of string in C#, what can I do?</title><content type='html'>&lt;span style="color: #274e13; font-size: large;"&gt;&lt;em&gt;Sample Code:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #073763;"&gt;string&lt;/span&gt; value = "9quali52ty3"; &lt;br /&gt;&lt;br /&gt;// Convert the string into a byte[]. &lt;br /&gt;&lt;span style="color: #073763;"&gt;byte&lt;/span&gt;[] asciiBytes = &lt;span style="color: #3d85c6;"&gt;Encoding&lt;/span&gt;.ASCII.&lt;span style="color: #3d85c6;"&gt;GetBytes&lt;/span&gt;(value); &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #274e13; font-size: large;"&gt;&lt;em&gt;Result:&lt;/em&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;57 113 117 97 108 105 53 50 116 121 51&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6206220590314732603?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6206220590314732603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6206220590314732603&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6206220590314732603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6206220590314732603'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/01/i-want-to-get-ascii-value-of-string-in.html' title='I want to get ASCII value of string in C#, what can I do?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-979583226721411497</id><published>2010-01-18T16:44:00.001+02:00</published><updated>2010-01-18T16:46:30.480+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><category scheme='http://www.blogger.com/atom/ns#' term='Tiger'/><title type='text'>Logo Unity/Tiger veritabanı tabloları listesi</title><content type='html'>LG_XXX_PRCLIST Alış/Satış fiyatları&lt;br /&gt;&lt;br /&gt;LG_XXX_ASCOND Alış/Satış koşulları&lt;br /&gt;&lt;br /&gt;LG_XXX_TOOLREQ Araç ihtiyacları&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_SRVNUMS Aylık hizmet toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_SRVTOT Aylık hizmet alış/satış toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_BNTOTFIL Banka aylık toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_BNFICHE Banka fişleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_BNFLINE Banka hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_BANKACC Banka hesapları&lt;br /&gt;&lt;br /&gt;LG_XXX_BNCARD Bankalar&lt;br /&gt;&lt;br /&gt;LG_XXX_LNGEXCSETS Bazı kayıtların diğer dillerdeki açıklamaları&lt;br /&gt;&lt;br /&gt;LG_XXX_UNITSETF Birim setleri&lt;br /&gt;&lt;br /&gt;LG_XXX_UNITSETC Birim setleri arası çevrim katsayıları&lt;br /&gt;&lt;br /&gt;LG_XXX_UNITSETL Birimler&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CLTOTFIL Cari hesap aylık toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CLFICHE Cari hesap fişeri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CLFLINE Cari hesap hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_CLINTEL Cari hesap istihbarat bilgileri&lt;br /&gt;&lt;br /&gt;LG_XXX_CLCARD Cari hesap kartları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CLRNUMS Cari hesap risk tabloları&lt;br /&gt;&lt;br /&gt;LG_XXX_EMPGROUP Çalışan grubu&lt;br /&gt;&lt;br /&gt;LG_XXX_LABORREQ Çalışan ihtiyaçları&lt;br /&gt;&lt;br /&gt;LG_XXX_EMGRPASS Çalışan-Grup ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_EMPLOYEE Çalışanlar&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CSROLL Çek/Senet bordroları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CSTRANS Çek/Senet hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CSCARD Çek/Senet kartları&lt;br /&gt;&lt;br /&gt;LG_XXX_DISTTEMP Dağıtım şablonları&lt;br /&gt;&lt;br /&gt;LG_XXX_DISTLINE Dağıtım şablonu satırları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_PERDOC Döküman bilgileri (örnek malzeme resmi)&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_FOLDER Döküman katalog bilgileri (watermark varsa)&lt;br /&gt;&lt;br /&gt;LG_XXX_FIRMDOC Döküman katalog girişi(watermark)&lt;br /&gt;&lt;br /&gt;L_LDOCNUM Döküman numaralama şablonları&lt;br /&gt;&lt;br /&gt;LG_XXX_ACCCODES Entegrasyon bağlantı kodları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_INVOICE Faturalar&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_TRANSAC Firma dönem bilgileri&lt;br /&gt;&lt;br /&gt;L_CDBTMP Form boyutları&lt;br /&gt;&lt;br /&gt;L_DAILYEXCHANGES Günlük döviz kurları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_STINVTOT Günlük malzeme ambar toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_SRVCARD Hizmet kartları&lt;br /&gt;&lt;br /&gt;LG_XXX_SRVUNITA Hizmet kaydı-Birim ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_DECARDS İndirim/Masraf kartları&lt;br /&gt;&lt;br /&gt;LG_XXX_DISPLINE İş emirleri&lt;br /&gt;&lt;br /&gt;LG_XXX_WSATTASG İş ist.-Özellik ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_WSATTVAS İş ist.-Özellik değeri ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_WORKSTAT İş istasyonları&lt;br /&gt;&lt;br /&gt;LG_XXX_WSGRPF İş istasyonu grupları&lt;br /&gt;&lt;br /&gt;LG_XXX_WSCHVAL İş istasyonu özellik değerleri&lt;br /&gt;&lt;br /&gt;LG_XXX_WSCHCODE İş istasyonu özellikleri&lt;br /&gt;&lt;br /&gt;LG_XXX_WSGRPASS İş istasyonu-grup ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_PEGGING İşlem bağlantıları (üretim emri, sipariş)&lt;br /&gt;&lt;br /&gt;LG_XXX_QCLVAL Kalite kontrol değerleri&lt;br /&gt;&lt;br /&gt;LG_XXX_QASGN Kalite kontrol hareketi- Kalite kontrol ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_SLQCASGN Kalite kontrol hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_QCSLINE Kalite kontrol satırları&lt;br /&gt;&lt;br /&gt;LG_XXX_QCSET Kalite kontrol setleri&lt;br /&gt;&lt;br /&gt;LG_XXX_STCOMPLN Karma koli satırları&lt;br /&gt;&lt;br /&gt;LG_XXX_CRDACREF Kart-Muhasebe kodları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_CSHTOTS Kasa aylık toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_KSLINES Kasa işlemleri&lt;br /&gt;&lt;br /&gt;LG_XXX_KSCARD Kasalar&lt;br /&gt;&lt;br /&gt;L_RPFILTSXXX Kaydedilen rapor filtreleri&lt;br /&gt;&lt;br /&gt;L_RPLAYS_XXX Kaydedilen rapor tasarımları&lt;br /&gt;&lt;br /&gt;LG_XXX_OCCUPATN Kaynak kullanımları (üretim)&lt;br /&gt;&lt;br /&gt;L_GOUSERS Kullanıcılar&lt;br /&gt;&lt;br /&gt;L_CAPIDEF Kuruluş bilgileri (ambar, işyer, fabrika vb.)&lt;br /&gt;&lt;br /&gt;LG_XXX_LOGREP LOG (izleme) kaydı&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_PRDCOST Maliyet dönem kapama kayıtları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_STINVENS Malzeme alış/satış aylık toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_ITEMSUBS Malzeme alternatifleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_STLINE Malzeme hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_CHARASGN Malzeme özellik ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_SERILOTN Malzeme seri lot no. Bilgileri&lt;br /&gt;&lt;br /&gt;LG_XXX_INVDEF Malzeme-Ambar bilgileri&lt;br /&gt;&lt;br /&gt;LG_XXX_ITMUNITA Malzeme-Birim ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_ITMFACTP Malzeme-Fabrika bilgileri&lt;br /&gt;&lt;br /&gt;LG_XXX_ITMWSDEF Malzeme-İş ist. bilgileri&lt;br /&gt;&lt;br /&gt;LG_XXX_ITMWSTOT Malzeme-İş ist. Toplamları (günlük)&lt;br /&gt;&lt;br /&gt;LG_XXX_ITEMS Malzemeler&lt;br /&gt;&lt;br /&gt;LG_XXX_ITMCLSAS Malzeme-Malzeme sınıfı ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_SELCHVAL Malzeme-Özellik değerleri&lt;br /&gt;&lt;br /&gt;LG_XXX_SUPPASGN Malzeme-Tedarikçi ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_ITMBOMAS Malzeme-Ürecetesi ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_EMCENTER Masraf malzemeleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_EMUHTOT Muhasebe aylık toplamları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_EMFICHE Muhasebe fişleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_EMFLINE Muhasebe hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_EMUHACC Muhasebe hesapları&lt;br /&gt;&lt;br /&gt;LG_XXX_ENGCLINE Mühendislik değişikliği işlemi&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_PRODUCER Müstahsil faturası&lt;br /&gt;&lt;br /&gt;L_NET Network kontrolü (kimlerin hangi firma ve dönemle çalıştığı)&lt;br /&gt;&lt;br /&gt;LG_XXX_OPRTREQ Operasyon ihtiyacları&lt;br /&gt;&lt;br /&gt;LG_XXX_OPERTION Operasyonlar&lt;br /&gt;&lt;br /&gt;LG_XXX_LNOPASGN Operasyon-Malzeme ilişkisi&lt;br /&gt;&lt;br /&gt;LG_XXX_OPATTASG Operasyon-Özellik ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_PRVOPASG Öceki operasyon ilişkileri&lt;br /&gt;&lt;br /&gt;LG_XXX_PAYLINES Ödeme plan satırları&lt;br /&gt;&lt;br /&gt;LG_XXX_PAYPLANS Ödeme planları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_PAYTRANS Ödeme/Tahsilat hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_SPECODES Özel kodlar&lt;br /&gt;&lt;br /&gt;LG_XXX_CHARVAL Özellik değerleri&lt;br /&gt;&lt;br /&gt;LG_XXX_CHARCODE Özellik kodları&lt;br /&gt;&lt;br /&gt;L_POSTCODE Posta kodları&lt;br /&gt;&lt;br /&gt;LG_XXX_PRCARDS Promosyon kartları&lt;br /&gt;&lt;br /&gt;LG_XXX_COPRDBOM Reçete-ek ürün ataması&lt;br /&gt;&lt;br /&gt;LG_XXX_FAREGIST Sabit kıymet kayıtları&lt;br /&gt;&lt;br /&gt;LG_XXX_FAYEAR Sabit kıymet yıllık kaydı&lt;br /&gt;&lt;br /&gt;LG_XXX_TARGETS Satış elemanı hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_SLSCLREL Satış elemanı-Cari hesap ilişkisi&lt;br /&gt;&lt;br /&gt;LG_XXX_SLSMAN Satış elemanları&lt;br /&gt;&lt;br /&gt;LG_XXX_ROUTETRS Satış rota satırları&lt;br /&gt;&lt;br /&gt;LG_XXX_ROUTE Satış yönetim raporları&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_SLTRANS Seri/Lot hareketleri&lt;br /&gt;&lt;br /&gt;L_SHPAGENT Sevkiyat firmaları&lt;br /&gt;&lt;br /&gt;L_SHPTYPES Sevkiyat türleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_ORFICHE Sipariş fişleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_ORFLINE Sipariş hareketleri&lt;br /&gt;&lt;br /&gt;LG_XXX_XX_STFICHE Stok fişleri&lt;br /&gt;&lt;br /&gt;LG_XXX_LOCATION Stok yerleri&lt;br /&gt;&lt;br /&gt;L_CITY Şehirler&lt;br /&gt;&lt;br /&gt;L_TRADGRP Ticari işlem grupları&lt;br /&gt;&lt;br /&gt;LG_XXX_TRGPAR Trigger parametreleri&lt;br /&gt;&lt;br /&gt;L_COUNTRY Ülkeler&lt;br /&gt;&lt;br /&gt;LG_XXX_PRODORD Üretim emirleri&lt;br /&gt;&lt;br /&gt;LG_XXX_RTNGLINE Üretim rota stırları&lt;br /&gt;&lt;br /&gt;LG_XXX_ROUTING Üretim rotaları&lt;br /&gt;&lt;br /&gt;LG_XXX_BOMREVSN Ürün reçete revizyonları&lt;br /&gt;&lt;br /&gt;LG_XXX_BOMLINE Ürün reçete satırları&lt;br /&gt;&lt;br /&gt;LG_XXX_BOMASTER Ürün reçeteleri&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-979583226721411497?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/979583226721411497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=979583226721411497&amp;isPopup=true' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/979583226721411497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/979583226721411497'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/01/logo-unitytiger-veritaban-tablolar.html' title='Logo Unity/Tiger veritabanı tabloları listesi'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-805772090074680918</id><published>2010-01-18T15:21:00.001+02:00</published><updated>2010-01-18T15:39:41.062+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>How can I get the Selected Item for LookupEdit in C#?</title><content type='html'>try this:&lt;br /&gt;&lt;em&gt;&lt;span style="background-color: white; color: #38761d;"&gt;this.bankaSubeleriIdLookUpEdit.Properties.GetDataSourceValue("IBANNo", this.bankaSubeleriIdLookUpEdit.ItemIndex).ToString();&lt;/span&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-805772090074680918?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/805772090074680918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=805772090074680918&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/805772090074680918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/805772090074680918'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2010/01/how-can-i-get-selected-item-for.html' title='How can I get the Selected Item for LookupEdit in C#?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2592415623563597652</id><published>2009-12-04T10:23:00.004+02:00</published><updated>2010-01-18T15:16:30.793+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Parayı/Rakamı yazıya çeviren SQL Function</title><content type='html'>-- Name: Parayı/Rakamı yazıya çeviren SQL function &lt;br /&gt;-- Description: &lt;br /&gt;--sayısal değeri yazıya çevirir&lt;br /&gt;--virgülden sonra 2 haneyi alır&lt;br /&gt;--Eğer @isMoney = true ise dönüş değerine TL ve kuruş eklenir&lt;br /&gt;create function dbo.fnc_ParayiYaziyaCevir (@num AS numeric(18,2), @isMoney as bit)&lt;br /&gt;returns varchar(255)&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;--declare @num numeric(18,2)&lt;br /&gt;--declare @isMoney bit&lt;br /&gt;--set @num = 1001111.99&lt;br /&gt;--set @isMoney = 1&lt;br /&gt;DECLARE @Split tinyint&lt;br /&gt;DECLARE @iSplit tinyint&lt;br /&gt;DECLARE @sNum varchar(20)&lt;br /&gt;DECLARE @NumSet varchar(3)&lt;br /&gt;DECLARE @Char char(1)&lt;br /&gt;DECLARE @NumText varchar(255)&lt;br /&gt;DECLARE @SetText varchar(100)&lt;br /&gt;DECLARE @HunText varchar(100)&lt;br /&gt;DECLARE @CharText varchar(50)&lt;br /&gt;DECLARE @Match bit&lt;br /&gt;DECLARE @Point tinyint&lt;br /&gt;DECLARE @Cents varchar(2)&lt;br /&gt;DECLARE @CentText varchar(100)&lt;br /&gt;DECLARE @NumStrings TABLE (Num int, NumStr varchar(20))&lt;br /&gt;INSERT INTO @NumStrings&lt;br /&gt;SELECT 1, 'Bir'&lt;br /&gt;UNION SELECT 2, 'İki'&lt;br /&gt;UNION SELECT 3, 'Üç'&lt;br /&gt;UNION SELECT 4, 'Dört'&lt;br /&gt;UNION SELECT 5, 'Beş'&lt;br /&gt;UNION SELECT 6, 'Altı'&lt;br /&gt;UNION SELECT 7, 'Yedi'&lt;br /&gt;UNION SELECT 8, 'Sekiz'&lt;br /&gt;UNION SELECT 9, 'Dokuz'&lt;br /&gt;UNION SELECT 10, 'On'&lt;br /&gt;UNION SELECT 11, 'Onbir'&lt;br /&gt;UNION SELECT 12, 'Oniki'&lt;br /&gt;UNION SELECT 13, 'Onüç'&lt;br /&gt;UNION SELECT 14, 'Ondört'&lt;br /&gt;UNION SELECT 15, 'Onbeş'&lt;br /&gt;UNION SELECT 16, 'Onaltı'&lt;br /&gt;UNION SELECT 17, 'Onyedi'&lt;br /&gt;UNION SELECT 18, 'Onsekiz'&lt;br /&gt;UNION SELECT 19, 'Ondokuz'&lt;br /&gt;UNION SELECT 20, 'Yirmi'&lt;br /&gt;UNION SELECT 30, 'Otuz'&lt;br /&gt;UNION SELECT 40, 'Kırk'&lt;br /&gt;UNION SELECT 50, 'Elli'&lt;br /&gt;UNION SELECT 60, 'Altmış'&lt;br /&gt;UNION SELECT 70, 'Yetmiş'&lt;br /&gt;UNION SELECT 80, 'Seksen'&lt;br /&gt;UNION SELECT 90, 'Doksan'&lt;br /&gt;SET @sNum = cast(@num as varchar(20))&lt;br /&gt;--convert any cent text first, then the&lt;br /&gt;-- whole number&lt;br /&gt;SET @Point = charindex('.', @sNum)&lt;br /&gt;IF @Point &amp;gt; 0&lt;br /&gt;BEGIN&lt;br /&gt;SET @Cents = substring(@sNum, @Point + 1, 2)&lt;br /&gt;SET @sNum = left(@sNum, @Point-1)&lt;br /&gt;--if isMoney THEN combine the two digits (eg 11 = eleven)&lt;br /&gt;IF @isMoney = 1&lt;br /&gt;BEGIN --look FOR matches WITH the RIGHT İki characters&lt;br /&gt;SET @Match = (select count(*) FROM @NumStrings WHERE Num = @Cents)&lt;br /&gt;IF @Match &amp;lt;&amp;gt; 0&lt;br /&gt;BEGIN&lt;br /&gt;SET @CentText = (select NumStr FROM @NumStrings WHERE Num = @Cents)&lt;br /&gt;END&lt;br /&gt;ELSE&lt;br /&gt;BEGIN&lt;br /&gt;SET @CentText = isnull((select NumStr FROM @NumStrings WHERE Num = left(@Cents, 1) + '0'),'') + (select NumStr from @NumStrings where Num = right(@Cents, 1))&lt;br /&gt;END&lt;br /&gt;END&lt;br /&gt;ELSE --if NOT isMBiry THEN treat each digit seperately (eg 11 = Bir Bir)&lt;br /&gt;BEGIN&lt;br /&gt;SET @CentText = isnull((select NumStr FROM @NumStrings WHERE Num = left(@Cents, 1)),'') + isnull((select NumStr from @NumStrings where Num = right(@Cents, 1)),'')&lt;br /&gt;END&lt;br /&gt;END&lt;br /&gt;IF @CentText IS NULL&lt;br /&gt;SET @CentText = ''&lt;br /&gt;--break the number into blocks of 3 characters&lt;br /&gt;SET @Split = ((len(@sNum)-1) / 3) + 1&lt;br /&gt;SET @iSplit = 0&lt;br /&gt;SET @NumText = ''&lt;br /&gt;WHILE @iSplit &amp;lt; @Split&lt;br /&gt;BEGIN&lt;br /&gt;SET @CharText = ''&lt;br /&gt;SET @HunText = ''&lt;br /&gt;SET @SetText = ''&lt;br /&gt;SET @NumSet = right(left(@sNum, len(@sNum) - @iSplit * 3), 3)&lt;br /&gt;IF len(@Numset) = 3 --Calculate ANY hundreds&lt;br /&gt;BEGIN&lt;br /&gt;SET @Char = left(@NumSet, 1)&lt;br /&gt;if @Char='1' &lt;br /&gt;SET @HunText = 'Yüz'&lt;br /&gt;ELSE&lt;br /&gt;SET @HunText = isnull((select NumStr FROM @NumStrings WHERE Num = @Char) + 'Yüz', '')&lt;br /&gt;SET @SetText = @HunText&lt;br /&gt;END&lt;br /&gt;--look FOR matches WITH the RIGHT two characters&lt;br /&gt;SET @Match = (select count(*) FROM @NumStrings WHERE Num = right(@NumSet, 2))&lt;br /&gt;IF @Match &amp;lt;&amp;gt; 0&lt;br /&gt;BEGIN&lt;br /&gt;SET @CharText = (select NumStr FROM @NumStrings WHERE Num = right(@NumSet, 2))&lt;br /&gt;END&lt;br /&gt;ELSE&lt;br /&gt;BEGIN&lt;br /&gt;SET @CharText = isnull((select NumStr FROM @NumStrings WHERE Num = left(right(@NumSet, 2), 1) + '0'),'') + (select NumStr from @NumStrings where Num = right(@NumSet, 1))&lt;br /&gt;END&lt;br /&gt;--make sure there IS something in @CharText AND @SetText (ie IF @NumSet = x00, x000)&lt;br /&gt;IF @CharText IS NULL SET @CharText = ''&lt;br /&gt;IF @SetText IS NULL set @SetText = ''&lt;br /&gt;--seperate ANY hundreds FROM Ons/units WITH an 'and'&lt;br /&gt;IF @HunText &amp;lt;&amp;gt; '' AND @CharText &amp;lt;&amp;gt; ''&lt;br /&gt;SET @SetText = @SetText + ''&lt;br /&gt;--if there are no hundreds, it's the smallest SET AND there are other sets, ADD an 'and' before&lt;br /&gt;IF @HunText = '' AND @CharText &amp;lt;&amp;gt; '' and @iSplit = 0 and @Split &amp;gt; 1 and @CentText = ''&lt;br /&gt;SET @SetText = '' + @SetText&lt;br /&gt;SET @SetText = @SetText + @CharText&lt;br /&gt;--append the SET suffix text. ADD a ',' AS long as there IS something in the lowest set&lt;br /&gt;if @iSplit = 1 AND @SetText='Bir' BEGIN &lt;br /&gt;SET @SetText=''&lt;br /&gt;SET @SetText = @SetText + CASE @iSplit&lt;br /&gt;WHEN 0 THEN ''&lt;br /&gt;WHEN 1 THEN 'Bin'&lt;br /&gt;WHEN 2 THEN 'Milyon'&lt;br /&gt;WHEN 3 THEN 'Milyar'&lt;br /&gt;WHEN 4 THEN 'Trilyon'&lt;br /&gt;WHEN 5 THEN 'Katrilyon'&lt;br /&gt;END + CASE WHEN len(@NumText) &amp;gt; 0 THEN '' ELSE '' end&lt;br /&gt;END&lt;br /&gt;ELSE&lt;br /&gt;BEGIN&lt;br /&gt;IF @SetText &amp;lt;&amp;gt; ''&lt;br /&gt;SET @SetText = @SetText + CASE @iSplit&lt;br /&gt;WHEN 0 THEN ''&lt;br /&gt;WHEN 1 THEN 'Bin'&lt;br /&gt;WHEN 2 THEN 'Milyon'&lt;br /&gt;WHEN 3 THEN 'Milyar'&lt;br /&gt;WHEN 4 THEN 'Trilyon'&lt;br /&gt;WHEN 5 THEN 'Katrilyon'&lt;br /&gt;END + CASE WHEN len(@NumText) &amp;gt; 0 THEN '' ELSE '' end&lt;br /&gt;END&lt;br /&gt;SET @NumText = @SetText + @NumText&lt;br /&gt;SET @iSplit = @iSplit + 1&lt;br /&gt;END&lt;br /&gt;--add any dollars and cent text&lt;br /&gt;IF @isMoney = 1 AND @NumText &amp;lt;&amp;gt; '' and rtrim(ltrim(@NumText)) &amp;lt;&amp;gt; 'Bir'&lt;br /&gt;SET @NumText = @NumText + ' TL'&lt;br /&gt;IF @isMoney = 1 AND rtrim(ltrim(@NumText)) = 'Bir'&lt;br /&gt;SET @NumText = @NumText + ' TL'&lt;br /&gt;IF @isMoney = 1 AND @CentText &amp;lt;&amp;gt; '' and rtrim(ltrim(@CentText)) &amp;lt;&amp;gt; 'Bir'&lt;br /&gt;SET @CentText = @CentText + ' kuruş'&lt;br /&gt;IF @isMoney = 1 AND rtrim(ltrim(@CentText)) = 'Bir'&lt;br /&gt;SET @CentText = @CentText + ' kuruş'&lt;br /&gt;IF @isMoney = 0 AND @CentText &amp;lt;&amp;gt; ''&lt;br /&gt;SET @CentText = ' Point' + @CentText&lt;br /&gt;IF @isMoney = 1 AND @NumText &amp;lt;&amp;gt; '' and @CentText &amp;lt;&amp;gt; ''&lt;br /&gt;SET @CentText = ' ' + @CentText&lt;br /&gt;--combine dollars and cents&lt;br /&gt;SET @NumText = @NumText + @CentText&lt;br /&gt;--add 'Minus' for negative numbers&lt;br /&gt;IF left(@sNum, 1) = '-'&lt;br /&gt;SET @NumText = 'virgül' + @NumText&lt;br /&gt;RETURN @NumText&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2592415623563597652?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2592415623563597652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2592415623563597652&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2592415623563597652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2592415623563597652'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/12/parayrakam-yazya-ceviren-sql-function.html' title='Parayı/Rakamı yazıya çeviren SQL Function'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8054613457029926968</id><published>2009-12-02T17:09:00.001+02:00</published><updated>2010-01-18T15:18:25.635+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Logo Object Designer'/><title type='text'>Logo Objects Web Kullanımı için Yapılacak Ayarlar</title><content type='html'>UnityObjects(Web) calismasi icin yapilmasi gereken bazi parametre ayarlari vardir. Aşağıda bu ayarlar ile ilgili ayrıntıları bulacaksınız;&lt;br /&gt;&lt;br /&gt;• Logo Unity 1.20.00.00 ve 4.20.00.00, Logo HR 3.04.03.00 versiyonlarından sonra Normal ve Web olmak üzere iki ayrı DLL dosyası hazırlanmadı. Bu DLL dosyaları birleştirilerek aynı DLL dosyasının hem Normal hemde web uyarlamarında çalışması sağlandı. Hangi amaçla kullanılacağını belirtir ForWebUse özelliği ekendi. Objects’i webte kullanabilmek için CreateObjects işleminden sonra ve Login veya Connect gibi bağlantı kurucu fonksyonlardan önce ForWebUse özelliği mutlaka TRUE olarak set edilmelidir.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Option Explicit&lt;br /&gt;'LogoObjects.DLL dosyasını VB editöründe; Project\Reference bölümünden referans ederek kullanım;&lt;br /&gt;Global UnityApp As New UnityObjects.UnityApplication&lt;br /&gt;'UnityObject Dll'ini "Runtime" referans ederek kullanım;&lt;br /&gt;'Global UnityApp As Variant&lt;br /&gt;'Nesne runtime oluşturuarak çalışılacaksa initialize bölümünde aağıdaki kod işletilmelidir;&lt;br /&gt;'Set UnityApp = CreateObjects("UnityObjects.UnityApplication")&lt;br /&gt;Function ConnectToUnity() As Boolean&lt;br /&gt;ConnectToUnity = False&lt;br /&gt;If IsEmpty(UnityApp) Then&lt;br /&gt;mdiFrmMain.statMain.SimpleText = " Unity Objects Objects Can not Create !!!"&lt;br /&gt;Else&lt;br /&gt;UnityApp.ForWebUse = True&lt;br /&gt;If UnityApp.Connect Then&lt;br /&gt;ConnectToUnity = True&lt;br /&gt;mdiFrmMain.statMain.SimpleText = "Connected ..."&lt;br /&gt;Else&lt;br /&gt;mdiFrmMain.statMain.SimpleText = " Error code : " &amp;amp; str(UnityApp.GetLastError) &amp;amp; " " &amp;amp; UnityApp.GetLastErrorString&lt;br /&gt;End If&lt;br /&gt;End If&lt;br /&gt;End Function&lt;br /&gt;Not : HrObjects.DLL dosyasının Web kulanımı için sadece create satırı değimekte diğer kısımlar aynı kamaktadır. &lt;br /&gt;'Set HrApp = CreateObjects("HRObjects.HRApplication")&lt;br /&gt;&lt;br /&gt;• Eğer DLL dosyasını yukarıdaki gibi WEB olarak kullanırsanız veri tabanıya bağantı kurmak için gerekli olan bilgilerin bulunduğu LogoDB.CFG dosyasının buunduğu konumu (Set ile aynı konumdadır) local Registery atındaki ilgili anahtarlardan değil kullandığınız işletim sistemi klasörü (Windows 2000 için C:\winnt) altında oluşturacağınız INI dosyalardan okuyacaktır.Oluşturacağınız INI file ve içerikleri aşağıdadır. &lt;br /&gt;- Logo Unity ürün ailesi için; LGold.INI dosyası olmalıdır, içeriği aşağıdadır.&lt;br /&gt;[Program]&lt;br /&gt;GoldPath=D:\GOLD\Unity110&lt;br /&gt;[Gold Data Source]&lt;br /&gt;DataPath=D:\GOLD\Unity110&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8054613457029926968?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8054613457029926968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8054613457029926968&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8054613457029926968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8054613457029926968'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/12/logo-objects-web-kullanm-icin-yaplacak.html' title='Logo Objects Web Kullanımı için Yapılacak Ayarlar'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1427189461086603040</id><published>2009-12-02T15:57:00.000+02:00</published><updated>2009-12-02T15:57:47.217+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.</title><content type='html'>In Microsoft Visual Studio 2005, you rebuild a solution and try to view a Microsoft Windows Form in Design view. When you do this, Design view may not show the Windows Form. Additionally, you may receive the following error message and call stack:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PROBLEM:&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes&lt;/em&gt;. TypeLoad failure. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. &lt;br /&gt;&lt;br /&gt;at System.Reflection.Module.GetTypesInternal(StackCrawlMark&amp;amp; stackMark) &lt;br /&gt;at System.Reflection.Assembly.GetTypes() &lt;br /&gt;at Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs..ctor(Assembly assembly) &lt;br /&gt;at Microsoft.VisualStudio.Design.VSDynamicTypeService.ReloadAssemblyIfChanged(String codeBase) &lt;br /&gt;at Microsoft.VisualStudio.Design.VSDynamicTypeService.CreateDynamicAssembly(String codeBase) &lt;br /&gt;at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() &lt;br /&gt;at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly&amp;amp; assembly, String description) &lt;br /&gt;at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly&amp;amp; assembly) &lt;br /&gt;at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType) &lt;br /&gt;at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase) &lt;br /&gt;at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError) &lt;br /&gt;at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.GetType(ITypeResolutionService trs, String name, Dictionary`2 names) &lt;br /&gt;at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.FillStatementTable(IDesignerSerializationManager manager, IDictionary table, Dictionary`2 names, CodeStatementCollection statements, String className) &lt;br /&gt;at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) &lt;br /&gt;at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) &lt;br /&gt;at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) &lt;br /&gt;at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;RESOLUTION:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For more information about the MSDN Code Gallery, visit the following Microsoft Web site: &lt;br /&gt;&lt;a href="http://code.msdn.microsoft.com/KB912019"&gt;http://code.msdn.microsoft.com/KB912019&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;To apply this hotfix, you must have Visual Studio 2005 installed on the computer.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1427189461086603040?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1427189461086603040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1427189461086603040&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1427189461086603040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1427189461086603040'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/12/one-or-more-errors-encountered-while.html' title='One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7685538750097199747</id><published>2009-11-19T15:10:00.004+02:00</published><updated>2009-11-19T15:45:18.490+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Saving SQL Query Results as HTML</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_f9DHGDBJO6c/SwVBA9ac61I/AAAAAAAAAgE/lk7xWJoyrnM/s1600/SaveTableAsHTML.GIF" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_f9DHGDBJO6c/SwVBA9ac61I/AAAAAAAAAgE/lk7xWJoyrnM/s640/SaveTableAsHTML.GIF" yr="true" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;USE:&lt;/strong&gt;&lt;br /&gt;declare @rc int&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;declare @MessageText VARCHAR(8000)&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #274e13;"&gt;&lt;em&gt;--section -1- SaveTableAsHTML&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;EXECUTE SaveTableAsHTML &lt;br /&gt;@DBFetch = 'SELECT MektupGecerlilikTarihi,IhaleKayitNo,KurumAdi,IsinAdi,BankaAdi,MektupTipi,MektupTutari FROM &lt;br /&gt;VW_TEMINAT_MEKTUPLARI_LISTESI_HAFTALIK_MAIL ', &lt;br /&gt;@DBWhere = ' 1=1 ', &lt;br /&gt;@TableStyle=' font-size: 11px; color: black; font-family: verdana; table-layout: auto; width: 83%; &lt;br /&gt;border-collapse: collapse; border-right: black thin double; border-top: black thin double; border-left: black thin double; &lt;br /&gt;border-bottom: black thin double; ' &lt;br /&gt;,@Header = 1, @outputText=@MessageText OUTPUT&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #274e13;"&gt;&lt;em&gt;-- section -2- Send Mail&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;exec @rc = master.dbo.xp_smtp_sendmail&lt;br /&gt;@FROM = N'Sqlmailservice@gintem.com.tr',&lt;br /&gt;@FROM_NAME = N'SQL Mail Service - Teminat Mektupları',&lt;br /&gt;@replyto = N'',&lt;br /&gt;@TO = N'serkansonmez@gintem.com.tr',&lt;br /&gt;@CC = N'',&lt;br /&gt;@BCC = N'',&lt;br /&gt;@priority = N'NORMAL',&lt;br /&gt;@subject = N'15 gün içinde Vadesi Dolacak Teminat Mektupları' ,&lt;br /&gt;@message = @MessageText,&lt;br /&gt;@type = N'text/html',&lt;br /&gt;@messagefile= N'',&lt;br /&gt;@attachment = N'',&lt;br /&gt;@attachments= N'',&lt;br /&gt;@timeout = 10000,&lt;br /&gt;@server = N'mail.gintem.com.tr'&lt;br /&gt;select RC = @rc&lt;br /&gt;go &lt;br /&gt;&amp;nbsp; &lt;br /&gt;RETURN VALUE: &lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;table border="1" style="border-bottom: black thin double; border-collapse: collapse; border-left: black thin double; border-right: black thin double; border-top: black thin double; color: black; font-family: verdana; font-size: 11px; table-layout: auto; width: 83%;"&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;MektupGecerlilikTarihi&lt;br /&gt;&lt;/th&gt;&lt;th&gt;IhaleKayitNo&lt;br /&gt;&lt;/th&gt;&lt;th&gt;KurumAdi&lt;br /&gt;&lt;/th&gt;&lt;th&gt;IsinAdi&lt;br /&gt;&lt;/th&gt;&lt;th&gt;BankaAdi&lt;br /&gt;&lt;/th&gt;&lt;th&gt;MektupTipi&lt;br /&gt;&lt;/th&gt;&lt;th&gt;MektupTutari&lt;br /&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;/&gt;&lt;tr&gt;&lt;td&gt;03/01/2009&lt;br /&gt;&lt;/td&gt;&lt;td&gt;-&lt;br /&gt;&lt;/td&gt;&lt;td&gt;İZSU&lt;br /&gt;&lt;/td&gt;&lt;td&gt;WİNWİN&lt;br /&gt;&lt;/td&gt;&lt;td&gt;DENIZBANK&lt;br /&gt;&lt;/td&gt;&lt;td&gt;Geçici&lt;br /&gt;&lt;/td&gt;&lt;td&gt;349000.00&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;&lt;blocknote&gt;&lt;br /&gt;-- SaveTableAsHTML.sql&lt;br /&gt;&lt;br /&gt;if exists (select * from dbo.sysobjects where id = object_id(N`[dbo].[SaveTableAsHTML]`) and OBJECTPROPERTY(id, N`IsProcedure`) = 1)&lt;br /&gt;drop procedure [dbo].[SaveTableAsHTML]&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;SET QUOTED_IDENTIFIER ON &lt;br /&gt;GO&lt;br /&gt;SET ANSI_NULLS ON &lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;SaveTableAsHTML.sql&lt;br /&gt;http://www.virtualobjectives.com.au&lt;br /&gt;http://www.serkansonmez.com&lt;br /&gt;&lt;br /&gt;History:&lt;br /&gt;27/02/2009 - John Buoro - Created.&lt;br /&gt;31/03/2009 - John Buoro - OSQL replaces BCP as query length of BCP is limited to only 1023 chars.&lt;br /&gt;14/11/2009 - Serkan SONMEZ - add new OutputText parameter which return to html code  &lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;CREATE PROCEDURE dbo.SaveTableAsHTML&lt;br /&gt;    @PCWrite varchar(1000) = NULL,&lt;br /&gt;    @DBFetch varchar(4000),&lt;br /&gt;    @DBWhere varchar(2000) = NULL,&lt;br /&gt;    @DBThere varchar(2000) = NULL,&lt;br /&gt;    @DBUltra bit = 1,&lt;br /&gt;    @TableStyle varchar(1000) = `border-width: thin; border-spacing: 2px; border-style: solid; border-color: gray; border-collapse: collapse;`,&lt;br /&gt;    @Header bit = 1,-- Output header. Default is 1.&lt;br /&gt;    @OutputText  varchar(8000) OUTPUT &lt;br /&gt;AS&lt;br /&gt;&lt;br /&gt;SET NOCOUNT ON&lt;br /&gt;SET @OutputText = ``&lt;br /&gt;DECLARE @Return int&lt;br /&gt;DECLARE @Retain int&lt;br /&gt;DECLARE @Status int&lt;br /&gt;&lt;br /&gt;SET @Status = 0&lt;br /&gt;&lt;br /&gt;DECLARE @TPre varchar(10)&lt;br /&gt;&lt;br /&gt;DECLARE @TDo3 tinyint&lt;br /&gt;DECLARE @TDo4 tinyint&lt;br /&gt;&lt;br /&gt;SET @TPre = ``&lt;br /&gt;&lt;br /&gt;SET @TDo3 = LEN(@TPre)&lt;br /&gt;SET @TDo4 = LEN(@TPre) + 1&lt;br /&gt;&lt;br /&gt;DECLARE @DBAE varchar(40)&lt;br /&gt;DECLARE @Task varchar(6000)&lt;br /&gt;DECLARE @Bank varchar(4000)&lt;br /&gt;DECLARE @Cash varchar(2000)&lt;br /&gt;DECLARE @Risk varchar(2000)&lt;br /&gt;DECLARE @Next varchar(8000)&lt;br /&gt;DECLARE @Save varchar(8000)&lt;br /&gt;DECLARE @Work varchar(8000)&lt;br /&gt;DECLARE @Wish varchar(8000)&lt;br /&gt;DECLARE @hString varchar(8000)&lt;br /&gt;DECLARE @tString varchar(8000)&lt;br /&gt;DECLARE @fString varchar(50)&lt;br /&gt;&lt;br /&gt;DECLARE @Name varchar(100)&lt;br /&gt;DECLARE @Same varchar(100)&lt;br /&gt;&lt;br /&gt;DECLARE @Rank smallint&lt;br /&gt;DECLARE @Kind varchar(20)&lt;br /&gt;DECLARE @Mask bit&lt;br /&gt;DECLARE @Bond bit&lt;br /&gt;DECLARE @Size int&lt;br /&gt;DECLARE @Wide smallint&lt;br /&gt;DECLARE @More smallint&lt;br /&gt;&lt;br /&gt;DECLARE @DBAI varchar(2000)&lt;br /&gt;DECLARE @DBAO varchar(8000)&lt;br /&gt;DECLARE @DBAU varchar(8000)&lt;br /&gt;&lt;br /&gt;DECLARE @Fuse int&lt;br /&gt;DECLARE @File int&lt;br /&gt;&lt;br /&gt;DECLARE @FuseO int&lt;br /&gt;DECLARE @FileO int&lt;br /&gt;DECLARE @TmpPathObj int&lt;br /&gt;DECLARE @TmpPath varchar(127)&lt;br /&gt;DECLARE @TmpFile varchar(127)&lt;br /&gt;DECLARE @TmpFilename varchar(1000)&lt;br /&gt;&lt;br /&gt;DECLARE @HeaderString varchar(8000)&lt;br /&gt;DECLARE @sHeaderString varchar(8000)&lt;br /&gt;DECLARE @HeaderDone int&lt;br /&gt;&lt;br /&gt;SET @DBAE = `##SaveFile` + RIGHT(CONVERT(varchar(10),@@SPID+100000),5)&lt;br /&gt;&lt;br /&gt;SET @Task = `IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE name = ` + CHAR(39) + @DBAE + CHAR(39) + `) DROP TABLE ` + @DBAE&lt;br /&gt;EXECUTE (@Task)&lt;br /&gt;&lt;br /&gt;SET @Bank = @TPre + @DBFetch&lt;br /&gt;&lt;br /&gt;IF NOT EXISTS (SELECT * FROM sysobjects WHERE RTRIM(type) = `U` AND name = @Bank)&lt;br /&gt;BEGIN&lt;br /&gt; SET @Bank = CASE WHEN LEFT(LTRIM(@DBFetch),6) = `SELECT` THEN `(` + @DBFetch + `)` ELSE @DBFetch END&lt;br /&gt; SET @Bank = REPLACE(@Bank,         CHAR(94),CHAR(39))&lt;br /&gt; SET @Bank = REPLACE(@Bank,CHAR(45)+CHAR(45),CHAR(32))&lt;br /&gt; SET @Bank = REPLACE(@Bank,CHAR(47)+CHAR(42),CHAR(32))&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;IF @DBWhere IS NOT NULL&lt;br /&gt;BEGIN&lt;br /&gt; SET @Cash = REPLACE(@DBWhere,`WHERE`       ,CHAR(32))&lt;br /&gt; SET @Cash = REPLACE(@Cash,         CHAR(94),CHAR(39))&lt;br /&gt; SET @Cash = REPLACE(@Cash,CHAR(45)+CHAR(45),CHAR(32))&lt;br /&gt; SET @Cash = REPLACE(@Cash,CHAR(47)+CHAR(42),CHAR(32))&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;IF @DBThere IS NOT NULL&lt;br /&gt;BEGIN&lt;br /&gt; SET @Risk = REPLACE(@DBThere,`ORDER BY`    ,CHAR(32))&lt;br /&gt; SET @Risk = REPLACE(@Risk,         CHAR(94),CHAR(39))&lt;br /&gt; SET @Risk = REPLACE(@Risk,CHAR(45)+CHAR(45),CHAR(32))&lt;br /&gt; SET @Risk = REPLACE(@Risk,CHAR(47)+CHAR(42),CHAR(32))&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;SET @DBAI = ``&lt;br /&gt;SET @DBAO = ``&lt;br /&gt;SET @DBAU = ``&lt;br /&gt;&lt;br /&gt;IF ASCII(LEFT(@Bank,1)) &lt; 64BEGIN SET @Task = `SELECT * INTO ` + @DBAE + ` FROM ` + @Bank + ` AS T WHERE 0 = 1` IF @Status = 0 EXECUTE (@Task) SET @Return = @@ERROR IF @Status = 0 SET @Status = @Return DECLARE Fields CURSOR FAST_FORWARD FOR SELECT C.name, C.colid, T.name, C.isnullable, C.iscomputed, C.length, C.prec, C.scale FROM tempdb.dbo.sysobjects AS O JOIN tempdb.dbo.syscolumns AS C   ON O.id = C.id JOIN tempdb.dbo.systypes AS T   ON C.xusertype = T.xusertype WHERE O.name = @DBAE ORDER BY C.colid SET @Retain = @@ERROR IF @Status = 0 SET @Status = @RetainENDELSEBEGIN DECLARE Fields CURSOR FAST_FORWARD FOR SELECT C.name, C.colid, T.name, C.isnullable, C.iscomputed, C.length, C.prec, C.scale FROM sysobjects AS O JOIN syscolumns AS C   ON O.id = C.id JOIN systypes AS T   ON C.xusertype = T.xusertype WHERE ISNULL(OBJECTPROPERTY(O.id,`IsMSShipped`),1) = 0  AND RTRIM(O.type) IN (`U`,`V`,`IF`,`TF`)  AND O.name = @Bank ORDER BY C.colid  SET @Retain = @@ERROR IF @Status = 0 SET @Status = @RetainENDOPEN FieldsSET @Retain = @@ERROR IF @Status = 0 SET @Status = @RetainFETCH NEXT FROM Fields INTO @Same, @Rank, @Kind, @Mask, @Bond, @Size, @Wide, @MoreSET @Retain = @@ERROR IF @Status = 0 SET @Status = @Retain-- Convert to character for header.SET @HeaderString = ``SET @sHeaderString = ``declare @sql nvarchar(4000)declare @aHeader nvarchar(9)declare @zHeader nvarchar(9)set @aHeader = `&lt;th&gt;`&lt;br /&gt;set @zHeader = `&lt;/th&gt;`&lt;br /&gt;&lt;br /&gt;WHILE @@FETCH_STATUS = 0 AND @Status = 0&lt;br /&gt;BEGIN&lt;br /&gt; -- Build header.&lt;br /&gt; IF LEN(@HeaderString) &gt; 0 SET @HeaderString = @HeaderString + `+lower(``&lt;tr&gt;``)` + `+ISNULL(``` + @Same + ```,SPACE(0))+` + `lower(``&lt;/tr&gt;``)+`&lt;br /&gt; IF LEN(@HeaderString) = 0 SET @HeaderString = `+lower(``&lt;tr&gt;``)` + `+ISNULL(``` + @Same + ```,SPACE(0))+` + `lower(``&lt;/tr&gt;``)+`&lt;br /&gt; IF LEN(@sHeaderString) &gt; 0 SET @sHeaderString = @sHeaderString + @aHeader + ISNULL(@Same, SPACE(0)) + @zHeader&lt;br /&gt; IF LEN(@sHeaderString) = 0 SET @sHeaderString = @aHeader + ISNULL(@Same, SPACE(0)) + @zHeader&lt;br /&gt;&lt;br /&gt; IF @Kind IN (`char`,`varchar`,`nchar`,`nvarchar`)&lt;br /&gt; BEGIN&lt;br /&gt;  IF @Rank = 1 SET @DBAU = `lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(40),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt;  IF @Rank &gt; 1 SET @DBAU = @DBAU + `+lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(40),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt; END&lt;br /&gt;&lt;br /&gt; IF @Kind IN (`bit`,`tinyint`,`smallint`,`int`,`bigint`)&lt;br /&gt; BEGIN&lt;br /&gt;  IF @Rank = 1 SET @DBAU = `lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(40),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt;  IF @Rank &gt; 1 SET @DBAU = @DBAU + `+lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(40),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt; END&lt;br /&gt;&lt;br /&gt; IF @Kind IN (`numeric`,`decimal`,`money`,`smallmoney`,`float`,`real`)&lt;br /&gt; BEGIN&lt;br /&gt;  IF @Rank = 1 SET @DBAU = `lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(80),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt;  IF @Rank &gt; 1 SET @DBAU = @DBAU + `+lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(80),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt; END&lt;br /&gt;&lt;br /&gt; IF @Kind IN (`uniqueidentifier`)&lt;br /&gt; BEGIN&lt;br /&gt;  IF @Rank = 1 SET @DBAU = `lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(80),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt;  IF @Rank &gt; 1 SET @DBAU = @DBAU + `+lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(80),` + @Same + `),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt; END&lt;br /&gt;&lt;br /&gt; IF @Kind IN (`datetime`,`smalldatetime`)&lt;br /&gt; BEGIN&lt;br /&gt;  IF @Rank = 1 SET @DBAU = `lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(40),` + @Same + `,103),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt;  IF @Rank &gt; 1 SET @DBAU = @DBAU + `+lower(``&lt;td&gt;``)` + `+ISNULL(CONVERT(varchar(40),` + @Same + `,103),SPACE(0))+` + `lower(``&lt;/td&gt;``)`&lt;br /&gt; END&lt;br /&gt;&lt;br /&gt; FETCH NEXT FROM Fields INTO @Same, @Rank, @Kind, @Mask, @Bond, @Size, @Wide, @More&lt;br /&gt; SET @Retain = @@ERROR IF @Status = 0 SET @Status = @Retain&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE Fields DEALLOCATE Fields&lt;br /&gt;&lt;br /&gt;IF LEN(@DBAU) = 0 SET @DBAU = `*`&lt;br /&gt;&lt;br /&gt;SET @DBAI = ` SELECT `&lt;br /&gt;SET @DBAO = `   FROM ` + @Bank + ` AS T`&lt;br /&gt; + CASE WHEN @DBWhere IS NULL THEN `` ELSE ` WHERE (` + @Cash + `) AND 0 = 0` END&lt;br /&gt; + CASE WHEN @DBThere IS NULL THEN `` ELSE ` ORDER BY ` + @Risk + `,` + CHAR(39) + `DBA` + CHAR(39) END&lt;br /&gt;&lt;br /&gt;IF LEN(ISNULL(@PCWrite,`*`)) &gt; 7 AND @DBUltra = 0&lt;br /&gt;BEGIN&lt;br /&gt; SET @tString = ` select lower(``&lt; html&gt;&lt; body&gt;&lt;table border=``) + CHAR(34) + ``1`` + CHAR(34) + `` style=`` + CHAR(34) + lower(``` + @TableStyle + ```) + CHAR(34) + ``&gt;`` UNION ALL ` SET @fString = ` UNION ALL select ``&lt;/ table&gt;&lt;/ bod y&gt;&lt;/ htm l&gt;``` SET @hString = `` IF @Header = 1 BEGIN  SET @hString = ` select ``&lt;tr&gt;` + @sHeaderString + `&lt;/tr&gt;`` UNION ALL ` END SET @Wish = `set nocount on; USE ` + DB_NAME() + @tString + @hString + @DBAI + ```&lt;tr&gt;``+` + @DBAU + `+``&lt;/tr&gt;``` + @DBAO + @fString -- SET @Work = `bcp "` + @Wish + `" queryout "` + @PCWrite + `" -c -T` -- Query length of BCP is limited to only 1023 chars. -- Create SQL script file. IF @Status = 0 EXECUTE @Status = sp_OACreate `Scripting.FileSystemObject`, @FuseO OUTPUT IF @Status = 0 EXECUTE @Status = sp_OAGetProperty @FuseO, `GetSpecialFolder(2)`, @TmpPathObj OUTPUT IF @Status = 0 EXECUTE @Status = sp_OAGetProperty @TmpPathObj, `Path`, @TmpPath OUTPUT IF @Status = 0 EXECUTE @Status = sp_OAGetProperty @FuseO, `GetTempName`, @TmpFile OUTPUT SET @TmpFilename = @TmpPath + `\` + @TmpFile IF @Status = 0 EXECUTE @Status = sp_OAMethod @FuseO, `CreateTextFile`, @FileO OUTPUT, @TmpFilename, -1 IF @Status &lt;&gt; 0 GOTO ABORT IF @Status = 0 EXECUTE @Status = sp_OAMethod @FileO, `Write`, NULL, @Wish IF @Status = 0 EXECUTE @Status = sp_OAMethod @FileO, `Close` SET @Work = `osql -i "` + @TmpFilename + `" -o "` + @PCWrite + `" -n -h-1 -w8000 -E` EXECUTE @Return = master.dbo.xp_cmdshell @Work, NO_OUTPUT SET @Retain = @@ERROR IF @Status = 0 SET @Status = @Retain IF @Status = 0 SET @Status = @Return EXECUTE @Status = sp_OAMethod @FuseO, `DeleteFile`, NULL, @TmpFilename EXECUTE @Status = sp_OADestroy @FuseO GOTO ABORTENDIF LEN(ISNULL(@PCWrite,`*`)) &gt; 7BEGIN IF @Status = 0 EXECUTE @Return = sp_OACreate `Scripting.FileSystemObject`, @Fuse OUTPUT SET @Retain = @@ERROR IF @Status = 0 SET @Status = @Retain IF @Status = 0 SET @Status = @Return IF @Status = 0 EXECUTE @Return = sp_OAMethod @Fuse, `CreateTextFile`, @File OUTPUT, @PCWrite, -1 SET @Retain = @@ERROR IF @Status = 0 SET @Status = @Retain IF @Status = 0 SET @Status = @Return IF @Status &lt;&gt; 0 GOTO ABORTENDSET @DBAI = `DECLARE Records CURSOR GLOBAL FAST_FORWARD FOR` + @DBAIIF @Status = 0 EXECUTE (@DBAI+@DBAU+@DBAO) SET @Return = @@ERRORIF @Status = 0 SET @Status = @ReturnOPEN RecordsSET @Retain = @@ERROR IF @Status = 0 SET @Status = @RetainFETCH NEXT FROM Records INTO @NextSET @Retain = @@ERROR IF @Status = 0 SET @Status = @RetainSET @HeaderDone = 0WHILE @@FETCH_STATUS = 0 AND @Status = 0BEGIN SET @Save = `` IF ISNULL(@File,0) = 0 BEGIN  -- Print header (TEXT).  IF @HeaderDone = 0  BEGIN   SET @OutputText  =  @OutputText + `&lt;table border="1" style="` + @TableStyle + `"&gt;` + CHAR(13) + CHAR(10)   SET @HeaderDone = 1  END  IF @Header = 1  BEGIN   SET @OutputText  = @OutputText + `&lt;tr&gt;` + @sHeaderString + `&lt;/tr&gt;` + CHAR(13) + CHAR(10)   SET @Header = 0  END  SET @OutputText  = @OutputText + `&lt;tr&gt;` + @Next + `&lt;/tr&gt;` END ELSE BEGIN  -- Print header (FILE).  IF @HeaderDone = 0  BEGIN   SET @Save = @Save + `&lt;htm l&gt;&lt;bod y&gt;&lt;tabl e border="1" style="` + @TableStyle + `"&gt;` + CHAR(13) + CHAR(10)   SET @HeaderDone = 1  END  IF @Header = 1  BEGIN   SET @Save = @Save + `&lt;tr&gt;` + @sHeaderString + `&lt;/tr&gt;` + CHAR(13) + CHAR(10)   SET @Header = 0  END  -- Print the data.  SET @Save = @Save + `&lt;tr&gt;` + @Next + `&lt;/tr&gt;` + CHAR(13) + CHAR(10)  IF @Status = 0 EXECUTE @Return = sp_OAMethod @File, `Write`, NULL, @Save  IF @Status = 0 SET @Status = @Return END FETCH NEXT FROM Records INTO @Next SET @Retain = @@ERROR IF @Status = 0 SET @Status = @RetainENDCLOSE Records DEALLOCATE Records-- Print footer (TEXT).IF ISNULL(@File,0) = 0BEGIN SET @OutputText  = @OutputText +  `&lt;/table&gt;` + CHAR(13) + CHAR(10)ENDELSEBEGIN SET @Save = `&lt;/tabl e &gt;&lt;/bod y&gt;&lt;/htm l&gt;` + CHAR(13) + CHAR(10) IF @Status = 0 EXECUTE @Return = sp_OAMethod @File, `Write`, NULL, @SaveEND-- Close.IF ISNULL(@File,0) &lt;&gt; 0BEGIN EXECUTE @Return = sp_OAMethod @File, `Close`, NULL IF @Status = 0 SET @Status = @Return EXECUTE @Return = sp_OADestroy @File IF @Status = 0 SET @Status = @Return EXECUTE @Return = sp_OADestroy @Fuse IF @Status = 0 SET @Status = @ReturnENDABORT: -- This label is referenced when OLE automation fails.IF @Status = 1 OR @Status NOT BETWEEN 0 AND 50000 RAISERROR (`SaveTableAsHTML Windows error [%d]`,16,1,@Status)SET @Task = `IF EXISTS (SELECT * FROM tempdb.dbo.sysobjects WHERE name = ` + CHAR(39) + @DBAE + CHAR(39) + `) DROP TABLE ` + @DBAEEXECUTE (@Task)SET NOCOUNT OFFRETURN (@Status)GOSET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GO&lt;/blocknote&gt;&lt;/SPAN&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7685538750097199747?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7685538750097199747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7685538750097199747&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7685538750097199747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7685538750097199747'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/11/saving-sql-query-results-as-html.html' title='Saving SQL Query Results as HTML'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_f9DHGDBJO6c/SwVBA9ac61I/AAAAAAAAAgE/lk7xWJoyrnM/s72-c/SaveTableAsHTML.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3161315397231385187</id><published>2009-11-05T15:24:00.000+02:00</published><updated>2009-11-05T15:24:41.185+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Get dates from week number in T-SQL</title><content type='html'>In Microsoft SQL Server, I have a week number &lt;br /&gt;for example;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/SvLR22liMXI/AAAAAAAAAf8/_7Oh0xyyBpw/s1600-h/datepart.GIF" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/SvLR22liMXI/AAAAAAAAAf8/_7Oh0xyyBpw/s320/datepart.GIF" vr="true" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT DATEPART(wk, GETDATE())&amp;nbsp; &lt;em&gt;&lt;span style="color: #274e13;"&gt;-- today 05.11.2009&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;result : 45&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3161315397231385187?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3161315397231385187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3161315397231385187&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3161315397231385187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3161315397231385187'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/11/get-dates-from-week-number-in-t-sql.html' title='Get dates from week number in T-SQL'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/SvLR22liMXI/AAAAAAAAAf8/_7Oh0xyyBpw/s72-c/datepart.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7845129903444049671</id><published>2009-11-02T17:50:00.000+02:00</published><updated>2009-11-02T17:50:52.802+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Logo Bordro'/><title type='text'>Logo Bordro programında onay tarihini değiştirmek veya iptal etmek.</title><content type='html'>&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_f9DHGDBJO6c/Su7-jBnjG8I/AAAAAAAAAeY/O23GWn0kcfE/s1600-h/BordroOnayTarihi.GIF" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_f9DHGDBJO6c/Su7-jBnjG8I/AAAAAAAAAeY/O23GWn0kcfE/s320/BordroOnayTarihi.GIF" vr="true" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;Logo Bordro programında geçmiş puantajları kilitlemek (onaylamak) için Ayarlar --&amp;gt; İşlemler --&amp;gt; Onaylama&amp;nbsp;seçilir.&amp;nbsp;Girişi yapılan tarihte bir yanlışlık olursa aşağıdaki SQL&amp;nbsp;scriptleri ile düzenleme yapılabilir. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #38761d;"&gt;--LISTELEME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SELECT LREF, TYP, APPDATE,* FROM LH_001_APPDATE WITH(NOLOCK) WHERE (TYP = 1) ORDER BY &lt;br /&gt;TYP DESC, APPDATE DESC&lt;br /&gt;&lt;span style="color: #38761d;"&gt;--UPDATE&lt;/span&gt;&lt;br /&gt;update LH_001_APPDATE set APPDATE = '20090930' where lref= 1&lt;br /&gt;&lt;span style="color: #38761d;"&gt;--DELETE&lt;/span&gt;&lt;br /&gt;delete from LH_001_APPDATE&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7845129903444049671?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7845129903444049671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7845129903444049671&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7845129903444049671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7845129903444049671'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/11/logo-bordro-programnda-onay-tarihini.html' title='Logo Bordro programında onay tarihini değiştirmek veya iptal etmek.'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_f9DHGDBJO6c/Su7-jBnjG8I/AAAAAAAAAeY/O23GWn0kcfE/s72-c/BordroOnayTarihi.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6865446330683523403</id><published>2009-10-15T16:36:00.000+03:00</published><updated>2009-10-15T16:36:19.541+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Only Date Part to GetDate() function in SQL Server</title><content type='html'>Problem:&lt;br /&gt;I want to getdate() function to compare datetime field.&amp;nbsp; Date part of both field (2009-10-15 ) but not equal.&amp;nbsp;&lt;br /&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;"&gt;SELECT getdate(),* from GUNLUK_GELENLER WHERE Per_ZeitStatusDatum = getdate()&lt;br /&gt;&lt;/div&gt;&lt;span style="color: red;"&gt;--No Result&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;SOLUTION:&lt;br /&gt;&lt;br /&gt;SELECT getdate(),* from GUNLUK_GELENLER WHERE &lt;br /&gt;CONVERT(VARCHAR(10),Per_ZeitStatusDatum,111) = &lt;br /&gt;CONVERT(VARCHAR(10),GETDATE(),111)&lt;br /&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_f9DHGDBJO6c/StclK6mPn_I/AAAAAAAAAeQ/pto96xcTrYA/s1600-h/getdate()_1.GIF" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img $r="true" border="0" src="http://4.bp.blogspot.com/_f9DHGDBJO6c/StclK6mPn_I/AAAAAAAAAeQ/pto96xcTrYA/s320/getdate()_1.GIF" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6865446330683523403?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6865446330683523403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6865446330683523403&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6865446330683523403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6865446330683523403'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/10/only-date-part-to-getdate-function-in.html' title='Only Date Part to GetDate() function in SQL Server'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_f9DHGDBJO6c/StclK6mPn_I/AAAAAAAAAeQ/pto96xcTrYA/s72-c/getdate()_1.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8456602395088569946</id><published>2009-09-25T08:28:00.000+03:00</published><updated>2009-09-25T08:28:07.523+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Insert Values of Stored Procedure in Table or Table Valued Function</title><content type='html'>I think different ways to insert the values from a stored procedure into a table. Let us quickly look at the conventional way of doing the same.&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;/* Create Stored Procedure */&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;CREATE PROCEDURE TestSP&lt;br /&gt;AS&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;SELECT GETDATE() AS MyDate, 1 AS IntValue&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;UNION ALL&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;SELECT GETDATE()+1 AS MyDate, 2 AS IntValue&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;GO&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: lime;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Traditional Method:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;/* Create TempTable */&lt;br /&gt;CREATE TABLE #tempTable (MyDate SMALLDATETIME, IntValue INT)&lt;br /&gt;GO&lt;br /&gt;/* Run SP and Insert Value in TempTable */&lt;br /&gt;INSERT INTO #tempTable (MyDate, IntValue)&lt;br /&gt;EXEC TestSP&lt;br /&gt;GO&lt;br /&gt;/* SELECT from TempTable */&lt;br /&gt;SELECT * FROM #tempTable&lt;br /&gt;GO&lt;br /&gt;/* Clean up */&lt;br /&gt;DROP TABLE #tempTable&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Alternate Method: Table Valued Function&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;/* Create table valued function*/&lt;br /&gt;CREATE FUNCTION dbo.TestFn()&lt;br /&gt;RETURNS @retTestFn TABLE&lt;br /&gt;(MyDate SMALLDATETIME,IntValue INT)&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;DECLARE @MyDate SMALLDATETIME&lt;br /&gt;DECLARE @IntValue INT&lt;br /&gt;INSERT INTO @retTestFn&lt;br /&gt;SELECT GETDATE() AS MyDate, 1 AS IntValue&lt;br /&gt;UNION ALL&lt;br /&gt;SELECT GETDATE()+1 AS MyDate, 2 AS IntValue&lt;br /&gt;RETURN;&lt;br /&gt;END&lt;br /&gt;GO&lt;br /&gt;/* Select data from Table Valued Function */&lt;br /&gt;SELECT *FROM dbo.TestFn()&lt;br /&gt;GO &lt;br /&gt;&lt;br /&gt;It is clear from the resultset that option 2, where I have converted stored procedures logic into the table valued function, is much better in terms of logic as it saves a large number of operations. However, this option should be used carefully. Performance of the stored procedure is “usually” better than that of functions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference : Pinal Dave (&lt;a href="http://blog.sqlauthority.com/"&gt;http://blog.sqlauthority.com/&lt;/a&gt; )&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8456602395088569946?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8456602395088569946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8456602395088569946&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8456602395088569946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8456602395088569946'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/09/insert-values-of-stored-procedure-in.html' title='Insert Values of Stored Procedure in Table or Table Valued Function'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6873651096221348432</id><published>2009-08-04T14:40:00.001+03:00</published><updated>2009-08-04T14:42:13.589+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><title type='text'>Host 'host_name' is blocked because of many connection errors.</title><content type='html'>&lt;strong&gt;Error Message :&lt;/strong&gt;&lt;br /&gt;Host 'host_name' is blocked because of many connection errors.&lt;br /&gt;Unblock with 'mysqladmin flush-hosts'&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you get the following error, it means that mysqld has received many connect requests from the host 'host_name' that have been interrupted in the middle: &lt;br /&gt;The number of interrupted connect requests allowed is determined by the value of the max_connect_errors system variable. After max_connect_errors failed requests, mysqld assumes that something is wrong (for example, that someone is trying to break in), and blocks the host from further connections until you execute a mysqladmin flush-hosts command or issue a FLUSH HOSTS statement. See Section 5.1.3, “Server System Variables”. &lt;br /&gt;By default, mysqld blocks a host after 10 connection errors. You can adjust the value by starting the server like this: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;shell&gt; mysqld_safe --max_connect_errors=10000 &amp;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you get this error message for a given host, you should first verify that there isn't anything wrong with TCP/IP connections from that host. If you are having network problems, it does you no good to increase the value of the max_connect_errors variable.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6873651096221348432?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6873651096221348432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6873651096221348432&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6873651096221348432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6873651096221348432'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/08/host-hostname-is-blocked-because-of.html' title='Host &apos;host_name&apos; is blocked because of many connection errors.'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4703411185670500914</id><published>2009-05-25T10:35:00.000+03:00</published><updated>2009-05-25T10:36:11.019+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-06508: PL/SQL: could not find program unit being called</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors. &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Check that all referenced programs, including their package bodies, exist and are compatible.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4703411185670500914?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4703411185670500914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4703411185670500914&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4703411185670500914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4703411185670500914'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/ora-06508-plsql-could-not-find-program.html' title='ORA-06508: PL/SQL: could not find program unit being called'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5160270196891807569</id><published>2009-05-25T10:34:00.001+03:00</published><updated>2009-05-25T10:34:54.943+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Prevent cache in HTML</title><content type='html'>META tag inside HEAD. Like this :&lt;br /&gt;&lt;br /&gt;&lt; HEAD&gt;&lt;br /&gt;&lt; META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" &gt;&lt;br /&gt;&lt; /HEAD&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5160270196891807569?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5160270196891807569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5160270196891807569&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5160270196891807569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5160270196891807569'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/prevent-cache-in-html.html' title='Prevent cache in HTML'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5630786075569532824</id><published>2009-05-14T13:35:00.004+03:00</published><updated>2009-05-14T13:50:00.194+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>Logo Unity: Veritabanında integer olarak tutalan zaman bilgisinin gösterilmesi</title><content type='html'>Logo programlarının veritabanına integer olarak kaydettiği zaman bilgisini aşağıdaki function ile zaman biriminden görebilirsiniz.&lt;br /&gt;&lt;br /&gt;CREATE FUNCTION [dbo].[EXTRACTINTDATE](@PDATE AS INT)&lt;br /&gt;RETURNS VARCHAR(10)&lt;br /&gt;AS &lt;br /&gt;BEGIN&lt;br /&gt;   DECLARE @FHOUR INT&lt;br /&gt;   DECLARE @FMINUTE INT&lt;br /&gt;   DECLARE @FSECOND INT&lt;br /&gt;   DECLARE @HOURSTR VARCHAR(2)&lt;br /&gt;   DECLARE @MINSTR VARCHAR(2)&lt;br /&gt;   DECLARE @FSECSTR VARCHAR(2)&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;   SET @FHOUR = CONVERT(INT,@PDATE/16777216,103)&lt;br /&gt;   SET @FMINUTE = (@PDATE-(@FHOUR*16777216))/65536 &lt;br /&gt;   SET @FSECOND = (@PDATE-((@FMINUTE*65536)+(@FHOUR*16777216)))/256&lt;br /&gt;&lt;br /&gt;   SET @HOURSTR = CONVERT(VARCHAR(2), @FHOUR, 103)&lt;br /&gt;   SET @MINSTR = CONVERT(VARCHAR(2), @FMINUTE, 103)&lt;br /&gt;   SET @FSECSTR = CONVERT(VARCHAR(2), @FSECOND, 103) &lt;br /&gt;   &lt;br /&gt;   RETURN (@HOURSTR + ':' + @MINSTR + ':' + @FSECSTR)&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Örnek Kullanım:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;select TIME_,[dbo].[EXTRACTINTDATE](TIME_) from LG_XT019_109&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Sonuç: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;TIME_           NEW_TIME&lt;br /&gt;168634208 10:13:39&lt;br /&gt;168636156 10:13:46&lt;br /&gt;220538930 13:37:40&lt;br /&gt;238367942 14:53:52&lt;br /&gt;238762111 14:59:56&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5630786075569532824?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5630786075569532824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5630786075569532824&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5630786075569532824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5630786075569532824'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/logo-unity-veritabannda-integer-olarak.html' title='Logo Unity: Veritabanında integer olarak tutalan zaman bilgisinin gösterilmesi'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4446354485148131135</id><published>2009-05-12T14:02:00.002+03:00</published><updated>2009-05-12T14:07:30.875+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Case Problem in C Sharp: Control can't fall through from one case label to another</title><content type='html'>PROBLEM:&lt;br /&gt;Control can't fall through from one case label to another 4 each case&lt;br /&gt;&lt;br /&gt;String status = (String)Session["Status"];&lt;br /&gt;&lt;br /&gt;        switch (status)&lt;br /&gt;        {&lt;br /&gt;            case "Book Pending":&lt;br /&gt;&lt;br /&gt;                string count1 = wucHSRBookModify1.getCount("Offer Pending", "",&lt;br /&gt;                               "", "", "");&lt;br /&gt;                int intcount1 = Convert.ToInt16(count1);&lt;br /&gt;                if (intcount1 &lt; 1)&lt;br /&gt;                {&lt;br /&gt;                    wucHSRBookModify1.UpdateBookStatus((String)Session["Status"]);&lt;br /&gt;                }&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;            case "Modification Pending":&lt;br /&gt;&lt;br /&gt;                string count2 = wucHSRBookModify1.getCount("Offer Pending", "Book Pending",&lt;br /&gt;                                "", "", "");&lt;br /&gt;                int intcount2 = Convert.ToInt16(count2);&lt;br /&gt;                if (intcount2 &lt; 1)&lt;br /&gt;                {&lt;br /&gt;                    wucHSRBookModify1.UpdateBookStatus((String)Session["Status"]);&lt;br /&gt;                }&lt;br /&gt;            case "Availability Pending":&lt;br /&gt;&lt;br /&gt;                string count3 = wucHSRBookModify1.getCount("Offer Pending", "Book Pending",&lt;br /&gt;                "Modification Pending", "", "");&lt;br /&gt;                int intcount3 = Convert.ToInt16(count3);&lt;br /&gt;                if (intcount3 &lt; 1)&lt;br /&gt;                {&lt;br /&gt;                    wucHSRBookModify1.UpdateBookStatus((String)Session["Status"]);&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RESOLUTION: &lt;br /&gt;You need to insert a &lt;span style="font-weight:bold;"&gt;break&lt;/span&gt;; at the end of each case before another case begins.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4446354485148131135?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4446354485148131135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4446354485148131135&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4446354485148131135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4446354485148131135'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/case-problem-in-c-sharp-control-cant.html' title='Case Problem in C Sharp: Control can&apos;t fall through from one case label to another'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1540224038141862219</id><published>2009-05-11T09:30:00.004+03:00</published><updated>2009-05-11T09:32:01.869+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Prevent unchecking of a checkbox in Java Script</title><content type='html'>&lt;\input type="checkbox" onclick="if(!this.checked)this.checked=true"\&gt;&lt;br /&gt;&lt;input type="checkbox" onclick="if(!this.checked)this.checked=true"&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1540224038141862219?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1540224038141862219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1540224038141862219&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1540224038141862219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1540224038141862219'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/prevent-unchecking-of-checkbox-in-java.html' title='Prevent unchecking of a checkbox in Java Script'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4228779839203041366</id><published>2009-05-11T09:30:00.001+03:00</published><updated>2009-05-11T09:30:42.970+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-01722: invalid number</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt;&lt;br /&gt;The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt;&lt;br /&gt;Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operation.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4228779839203041366?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4228779839203041366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4228779839203041366&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4228779839203041366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4228779839203041366'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/ora-01722-invalid-number.html' title='ORA-01722: invalid number'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-9059193174028575501</id><published>2009-05-11T09:19:00.001+03:00</published><updated>2009-05-11T09:28:08.712+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Prevent href in Java Script</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/SgfFct1a7NI/AAAAAAAAAdw/Z9aD-iOGL-0/s1600-h/prevent+href.GIF"&gt;&lt;img id="BLOGGER_PHOTO_ID_5334449380774309074" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 36px" alt="" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/SgfFct1a7NI/AAAAAAAAAdw/Z9aD-iOGL-0/s320/prevent+href.GIF" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a onclick="return linkEnabled" href="http://www.flashgames1001.com/"&gt;Test&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onclick="linkEnabled=false;return false" href="http://www.blogger.com/post-edit.g?blogID=2427622159712348650&amp;amp;postID=9059193174028575501#"&gt;Disable the link above&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt; var linkEnabled=true;  // Variable indicating if the link is enabled. &lt;/script&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-9059193174028575501?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/9059193174028575501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=9059193174028575501&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/9059193174028575501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/9059193174028575501'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/prevent-href-in-java-script.html' title='Prevent href in Java Script'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/SgfFct1a7NI/AAAAAAAAAdw/Z9aD-iOGL-0/s72-c/prevent+href.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-692009969668604636</id><published>2009-05-11T09:15:00.000+03:00</published><updated>2009-05-11T09:16:31.632+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-00932: inconsistent datatypes: expected string got string</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; One of the following:&lt;br /&gt;&lt;br /&gt;An attempt was made to perform an operation on incompatible datatypes. For example, adding a character field to a date field (dates may only be added to numeric fields) or concatenating a character field with a long field.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;An attempt was made to perform an operation on a database object (such as a table or view) that is not intended for normal use. For example, system tables cannot be modified by a user. Note that on rare occasions this error occurs because a misspelled object name matched a restricted object&amp;apos;s name.&lt;br /&gt;An attempt was made to use an undocumented view.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; If the cause is different datatypes, then use consistent datatypes. For example, convert the character field to a numeric field with the TO_NUMBER function before adding it to the date field. Functions may not be used with long fields.&lt;br /&gt;an object not intended for normal use, then do not access the restricted object.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-692009969668604636?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/692009969668604636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=692009969668604636&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/692009969668604636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/692009969668604636'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/ora-00932-inconsistent-datatypes.html' title='ORA-00932: inconsistent datatypes: expected string got string'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6291831014421800061</id><published>2009-05-11T09:07:00.002+03:00</published><updated>2009-05-11T09:11:02.180+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Create a for Loop in JavaScript</title><content type='html'>JavaScript, like all programming languages, supports loops or repetition, in its case with the for statement. The for statement in JavaScript comes in two flavors: one loops over values, the other over entries in an object or array.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;Loop Over Values in JavaScript&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1. &lt;/strong&gt;Code the for statement, following the syntax below:&lt;br /&gt;for (variable=value; condition; increment) { statement(s) }&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;strong&gt;2. &lt;/strong&gt;Loop over a range of values by setting a variable equal to the initial value, specifying for the condition the test that the variable not exceed the maximum value, and incrementing the variable each time through the loop. In the example below, the numbers between 1 and 9 will be displayed in a series of alert boxes. (i++ means to increment the value of the variable i by 1.)&lt;br /&gt;for (i=1; i&lt;10; i++) { alert (i); }&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. &lt;/strong&gt;Terminate processing of the loop's statements and return to the top for the next iteration, if necessary, by using the continue statement.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4. &lt;/strong&gt;Break out of the loop, continuing with the statement following it, by coding a break statement if necessary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Loop Over Object or Array Elements&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. &lt;/strong&gt;Code the for statement, following the syntax below. "in" is a special JavaScript keyword used for this purpose.&lt;br /&gt;for (variable in object) { statement(s) }&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. &lt;/strong&gt;Process each element in the object or array as appropriate. The variable given in the for statement will take on the value of each array index, or object field, in turn. Example:&lt;br /&gt;for (i in my_array) { alert ("Value of element " + i + " is " + my_array[i]);&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. &lt;/strong&gt;Move to the next iteration, or break out of the loop, using the same continue and break statements described in the preceding section.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6291831014421800061?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6291831014421800061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6291831014421800061&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6291831014421800061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6291831014421800061'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/create-for-loop-in-javascript.html' title='Create a for Loop in JavaScript'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1427835606479847145</id><published>2009-05-05T13:46:00.000+03:00</published><updated>2009-05-05T13:48:33.178+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-00257: archiver error. Connect internal only, until freed.</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transactions. The most likely cause of this message is the destination device is out of space to store the redo log file.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Check archiver trace file for a detailed description of the problem. Also verify that the device specified in the initialization parameter ARCHIVE_LOG_DEST is set up properly for archiving.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1427835606479847145?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1427835606479847145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1427835606479847145&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1427835606479847145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1427835606479847145'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/ora-00257-archiver-error-connect.html' title='ORA-00257: archiver error. Connect internal only, until freed.'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6387006696059481998</id><published>2009-05-05T13:45:00.000+03:00</published><updated>2009-05-05T13:46:20.582+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Prevent multi-row updates with Trigger</title><content type='html'>The best way to do this would be with a trigger : &lt;br /&gt;&lt;br /&gt;create trigger trig_single_updates_only on table_name&lt;br /&gt;for update&lt;br /&gt;as&lt;br /&gt;begin&lt;br /&gt;if (select count(*) from inserted) &gt; 1&lt;br /&gt;begin&lt;br /&gt;raiserror ('You cannot update more than one row at time - please add an appropriete where clause',16,1)&lt;br /&gt;rollback&lt;br /&gt;end&lt;br /&gt;end&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6387006696059481998?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6387006696059481998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6387006696059481998&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6387006696059481998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6387006696059481998'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/prevent-multi-row-updates-with-trigger.html' title='Prevent multi-row updates with Trigger'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4461407350368622538</id><published>2009-05-05T13:40:00.003+03:00</published><updated>2009-05-05T13:45:02.732+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-12535 : ORACLE instance terminated. Disconnection forced</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; The requested operation could not be completed within the time out period.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Look at the documentation on the secondary errors for possible remedy. See SQLNET.LOG to find secondary error if not provided explicitly. Turn on tracing to gather more information.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4461407350368622538?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4461407350368622538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4461407350368622538&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4461407350368622538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4461407350368622538'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/ora-12535-oracle-instance-terminated.html' title='ORA-12535 : ORACLE instance terminated. Disconnection forced'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-430634089316121084</id><published>2009-05-05T13:40:00.001+03:00</published><updated>2009-05-05T13:40:37.562+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How to prevent duplication record?</title><content type='html'>You can use either of the following Approach:&lt;br /&gt;&lt;br /&gt;1. Basically Creating a Unique Constraint suffice.&lt;br /&gt;2. Creating Unique index (Unique Constraint + Index) would help you in case of frequent querying based upon that column.&lt;br /&gt;3. Creating an Identity column to avoid duplication.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-430634089316121084?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/430634089316121084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=430634089316121084&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/430634089316121084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/430634089316121084'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/how-to-prevent-duplication-record.html' title='How to prevent duplication record?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5063273318089718929</id><published>2009-05-05T13:28:00.000+03:00</published><updated>2009-05-05T13:34:24.377+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Transaction log in sql server</title><content type='html'>could be a few things affecting... are the transaction logs under a maintenance plan of some description where full backups and frequent ttransaction logs backups for a FULL recovery mode database, or, maybe you are using SIMPLE recovery mode.&lt;br /&gt;&lt;br /&gt;do you run a shrink or some other "clean up" process ? has the database files been analysed and optimised for a size and growth ? Is there sufficient disk space ? has the lof been allowed to grow (obviously not), what is the current size ?&lt;br /&gt;&lt;br /&gt;all these types of things might come into play as well... not necessarily just a "rogue/unruley/hungry" process sending it into a spin...&lt;br /&gt;&lt;br /&gt;one thing you can do if you notice and increase in size:&lt;br /&gt;&lt;br /&gt;DBCC OPENTRAN&lt;br /&gt;&lt;br /&gt;it will show you the open transactions and the SPID's associated. You can then track back to the SPID's and see the SQL that they are using at the time.&lt;br /&gt;&lt;br /&gt;you could automate the whole lot in a stored procedure and schedule it to run every so often... have a look at a couple of code snippets below...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;--capture logspace into a table (and a general approach for collecting dbcc outputs)&lt;br /&gt;create table tmp_sqlperf(databaseName varchar(100),LogSize decimal(18,5),LogSpace decimal(18,5),Status int)&lt;br /&gt; &lt;br /&gt;insert tmp_sqlperf&lt;br /&gt;exec ( 'dbcc sqlperf (logspace)')&lt;br /&gt;select * from tmp_sqlperf&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;--check current log activity&lt;br /&gt;select * from fn_dblog(NULL,NULL)&lt;br /&gt;--or&lt;br /&gt;dbcc log('MY_DB',-1)&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;--check current SPID's with opentrans&lt;br /&gt;dbcc opentran&lt;br /&gt; &lt;br /&gt;--capture the SQL /processes belonging to a specific spid&lt;br /&gt;DECLARE @Handle binary(20) &lt;br /&gt;SELECT @Handle = sql_handle FROM master.dbo.sysprocesses WHERE spid = 57&lt;br /&gt;SELECT * FROM ::fn_get_sql(@Handle)&lt;br /&gt;--or&lt;br /&gt;select   *   from     sys.dm_exec_sql_text(@handle) &lt;br /&gt;Open in New Window Select All Not what you're looking for? Ask an Expert.&lt;br /&gt; &lt;/strong&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5063273318089718929?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5063273318089718929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5063273318089718929&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5063273318089718929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5063273318089718929'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/transaction-log-in-sql-server.html' title='Transaction log in sql server'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6822763606148641249</id><published>2009-05-01T09:25:00.001+03:00</published><updated>2009-05-01T09:32:35.604+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Shrink a tablespace in Oracle 10G OEM?</title><content type='html'>Here are the steps that you can follow to resize a tablespace using Oracle 10G OEM. &lt;br /&gt;&lt;br /&gt;1. To log in to Oracle Enterprise Manager Database Control:          &lt;br /&gt;&lt;br /&gt;Open your Web browser and enter the following URL&lt;br /&gt;&lt;br /&gt;http://hostname:port/em&lt;br /&gt;&lt;br /&gt;In a default installation, the port number is 1158. If you are unsure of the correct port number to use, look for the following line in the ORACLE_BASE\ORACLE_HOME\install\portlist.ini file:&lt;br /&gt;&lt;br /&gt;Enterprise Manager Console HTTP Port (db_name) = port&lt;br /&gt;&lt;br /&gt;For example, if you installed the database on a host computer named mgmt42, and the port number listed in the portlist.ini file is 5500, then enter the following URL&lt;br /&gt;&lt;br /&gt;http://mgmt42:5500/em&lt;br /&gt;Enterprise Manager displays the Database Control Login Page.&lt;br /&gt;&lt;br /&gt;Log in to the database using the SYSMAN database user account. Enterprise Manager displays the Oracle Database home page.&lt;br /&gt;&lt;br /&gt;Use the password you specified for the SYSMAN account during the Oracle Database installation.&lt;br /&gt;&lt;br /&gt;2. Select/click on Administration link &gt; then on storage link on the next page and select tablespace &lt;br /&gt;&lt;br /&gt;3. Click on datafile name then "Edit". &lt;br /&gt;&lt;br /&gt;Enter new datafile size in MB or KB and click on apply when finished.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6822763606148641249?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6822763606148641249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6822763606148641249&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6822763606148641249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6822763606148641249'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/shrink-tablespace-in-oracle-10g-oem.html' title='Shrink a tablespace in Oracle 10G OEM?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-511593126157374874</id><published>2009-05-01T09:09:00.000+03:00</published><updated>2009-05-01T09:25:16.424+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Retreiving data from backup of crashed Oracle</title><content type='html'>If you you have a hot backup set of all data file, control file, archived log file, do the following:&lt;br /&gt;&lt;br /&gt;1. Create the new directories (same or different hiarachy)&lt;br /&gt;2. Copy all datafiles, archived log and init files from backup set to those dirs.&lt;br /&gt;3. Modify the file was created from "backup control file to trace" command. This script will be used to recreate the control file&lt;br /&gt;4. Startup nomount then run the script to recreat the new control file&lt;br /&gt;5. Issue:&lt;br /&gt;SQL&gt;recover database&lt;br /&gt;Oracle will ask you for the archived log, apply until cancel or turn on AUTO to let Oracle find the archived log file by itself&lt;br /&gt;6. Alter database open&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-511593126157374874?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/511593126157374874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=511593126157374874&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/511593126157374874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/511593126157374874'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/05/retreiving-data-from-backup-of-crashed.html' title='Retreiving data from backup of crashed Oracle'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3482214339529793449</id><published>2009-04-24T09:56:00.000+03:00</published><updated>2009-04-24T09:57:47.398+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-01400: cannot insert NULL into (string)</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; An attempt was made to insert a NULL into the column "USER"."TABLE"."COLUMN".&lt;br /&gt;&lt;br /&gt;For example, if you enter:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;connect scott/tiger create table a (a1 number not null); insert into a values (null); &lt;br /&gt;&lt;br /&gt;Oracle returns:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ORA-01400 cannot insert NULL into ("SCOTT"."A"."A1") : which means you cannot insert NULL into "SCOTT"."A"."A1".&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Retry the operation with a value other than NULL.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3482214339529793449?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3482214339529793449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3482214339529793449&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3482214339529793449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3482214339529793449'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-01400-cannot-insert-null-into.html' title='ORA-01400: cannot insert NULL into (string)'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6018143290744972489</id><published>2009-04-24T09:54:00.000+03:00</published><updated>2009-04-24T09:56:50.088+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-12154: TNS:could not resolve the connect identifier specified</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action: &lt;/strong&gt;- If you are using local naming (TNSNAMES.ORA file):&lt;br /&gt;&lt;br /&gt;- Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)&lt;br /&gt;&lt;br /&gt;- Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.&lt;br /&gt;&lt;br /&gt;- Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.&lt;br /&gt;&lt;br /&gt;- Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.&lt;br /&gt;&lt;br /&gt;- If you are using directory naming:&lt;br /&gt;&lt;br /&gt;- Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).&lt;br /&gt;&lt;br /&gt;- Verify that the LDAP directory server is up and that it is accessible.&lt;br /&gt;&lt;br /&gt;- Verify that the net service name or database name used as the connect identifier is configured in the directory.&lt;br /&gt;&lt;br /&gt;- Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier&lt;br /&gt;&lt;br /&gt;- If you are using easy connect naming:&lt;br /&gt;&lt;br /&gt;- Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).&lt;br /&gt;&lt;br /&gt;- Make sure the host, port and service name specified are correct.&lt;br /&gt;&lt;br /&gt;- Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6018143290744972489?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6018143290744972489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6018143290744972489&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6018143290744972489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6018143290744972489'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-12154-tnscould-not-resolve-connect.html' title='ORA-12154: TNS:could not resolve the connect identifier specified'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6043455017997866006</id><published>2009-04-22T17:31:00.002+03:00</published><updated>2009-04-22T17:38:43.928+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>8152 - String or binary data would be truncated.</title><content type='html'>Server: Msg 8152, Level 16, State 14, Line 1&lt;br /&gt;String or binary data would be truncated.&lt;br /&gt;The statement has been terminated.&lt;br /&gt;&lt;br /&gt;This error happen when I tried to insert a value too long in a varchar or nvarchar&lt;br /&gt;column:&lt;br /&gt;&lt;br /&gt;CREATE TABLE TableName_(id VARCHAR(2))&lt;br /&gt;go&lt;br /&gt; &lt;br /&gt;INSERT TableName_ VALUES ('Serkan')&lt;br /&gt;&lt;br /&gt;Resolution: &lt;br /&gt;1- Most programmers are lazy they prefer not to change code (and introduce bugs)&lt;br /&gt;&lt;strong&gt;INSERT bla VALUES (LEFT('123',2))&lt;/strong&gt;&lt;br /&gt;2 - Here is one way to do it without changing code but by setting ANSI Warnings to off&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SET ANSI_WARNINGS  OFF&lt;br /&gt;INSERT TableName_ VALUES ('Serkan')&lt;br /&gt;SET ANSI_WARNINGS  ON &lt;/strong&gt;--set it back on so code following this won't be messed up&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6043455017997866006?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6043455017997866006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6043455017997866006&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6043455017997866006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6043455017997866006'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/8152-string-or-binary-data-would-be.html' title='8152 - String or binary data would be truncated.'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6495403796363019941</id><published>2009-04-22T17:24:00.001+03:00</published><updated>2009-04-22T17:24:38.410+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-00604: error occurred at recursive SQL level string</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; An error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6495403796363019941?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6495403796363019941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6495403796363019941&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6495403796363019941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6495403796363019941'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-00604-error-occurred-at-recursive.html' title='ORA-00604: error occurred at recursive SQL level string'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6162779355958191568</id><published>2009-04-22T17:23:00.000+03:00</published><updated>2009-04-22T17:24:08.965+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-01017: invalid username/password; logon denied</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; An invalid username or password was entered in an attempt to log on to Oracle. The username and password must be the same as was specified in a GRANT CONNECT statement. If the username and password are entered together, the format is: username/password. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Enter a valid username and password combination in the correct format.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6162779355958191568?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6162779355958191568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6162779355958191568&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6162779355958191568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6162779355958191568'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-01017-invalid-usernamepassword.html' title='ORA-01017: invalid username/password; logon denied'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2766619686252638042</id><published>2009-04-22T17:21:00.000+03:00</published><updated>2009-04-22T17:23:05.849+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-12638: Credential retrieval failed</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; The authentication service failed to retrieve the credentials of a user.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Enable tracing to determine the exact error.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2766619686252638042?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2766619686252638042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2766619686252638042&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2766619686252638042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2766619686252638042'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-12638-credential-retrieval-failed.html' title='ORA-12638: Credential retrieval failed'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3818103779066517827</id><published>2009-04-21T08:44:00.003+03:00</published><updated>2009-04-21T08:58:30.037+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>MS SQL Server: Disconnect Users From Database with KILL SID (Kill User Session)</title><content type='html'>You can delete all the active session with the following query.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DECLARE @spid INT&lt;br /&gt;DECLARE @query NVARCHAR(255)&lt;br /&gt;&lt;br /&gt;DECLARE processes CURSOR FOR&lt;br /&gt;SELECT spid FROM master..sysprocesses&lt;br /&gt;WHERE dbid = DB_ID('Your_Database_Name')&lt;br /&gt;AND spid != @@SPID&lt;br /&gt;OPEN processes&lt;br /&gt;FETCH NEXT FROM processes&lt;br /&gt;INTO @spid&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;PRINT 'KILLING '+RTRIM(@spid)&lt;br /&gt;SET @query = 'KILL '+RTRIM(@spid)&lt;br /&gt;EXEC(@query)&lt;br /&gt;FETCH NEXT FROM processes&lt;br /&gt;INTO @spid&lt;br /&gt;END&lt;br /&gt;CLOSE processes&lt;br /&gt;DEALLOCATE processes&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3818103779066517827?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3818103779066517827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3818103779066517827&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3818103779066517827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3818103779066517827'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ms-sql-server-disconnect-users-from.html' title='MS SQL Server: Disconnect Users From Database with KILL SID (Kill User Session)'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2429107022255932704</id><published>2009-04-20T08:22:00.006+03:00</published><updated>2009-04-20T13:36:27.768+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>Unity : Aynı setle farklı veritabanına bağlanmak</title><content type='html'>Unity'de bir set ile birden fazla veritabanına bağlanılabilir. Birden fazla veritabanına test amaçlı çalışmalarda bağlanılabilir. Bu bağlantıyı yapmak için:&lt;br /&gt;1. Mevcut Logodb.cfg logodb_orj.cfg olarak kopyalanır.&lt;br /&gt;2. Lgconfig.exe çalıştırılır. Test database'ini yolu bu alana girilir. &lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/SewJxdpK7VI/AAAAAAAAAbU/7CHnw0xOieA/s1600-h/spainTestcfg.GIF"&gt;&lt;img style=" margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/SewJxdpK7VI/AAAAAAAAAbU/7CHnw0xOieA/s320/spainTestcfg.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5326643204648004946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;3. Logodb.cfg dosyasının ismi Spaintest.cfg olarak değiştirilir.&lt;br /&gt;4. Logodb_orj.cfg dosyasının ismi Logodb.cfg olarak değiştirilir.&lt;br /&gt;5. Unity Kısayolu SpainTest olarak kopyalanır ve özelliklerine /DB:Spaintest.cfg eklenir.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/SewLJkb1JjI/AAAAAAAAAbc/BOwhynWSWAQ/s1600-h/spaintestProperties.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 234px; height: 320px;" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/SewLJkb1JjI/AAAAAAAAAbc/BOwhynWSWAQ/s320/spaintestProperties.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5326644718299588146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sonuçta her iki kısayol farklı veritabanlarına bağlanacağı için tek bir set ile iki bağlantı yapılmış olur. (Unity2 versiyonu 1.71)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2429107022255932704?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2429107022255932704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2429107022255932704&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2429107022255932704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2429107022255932704'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/unity-ayn-setle-farkl-veritabanna.html' title='Unity : Aynı setle farklı veritabanına bağlanmak'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/SewJxdpK7VI/AAAAAAAAAbU/7CHnw0xOieA/s72-c/spainTestcfg.GIF' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6090289244062499035</id><published>2009-04-17T15:51:00.003+03:00</published><updated>2009-04-17T15:58:43.089+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Msg 15281, Level 16, State 1, Procedure sp_send_dbmail, Line 0</title><content type='html'>&lt;strong&gt;ERROR MESSAGE:&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Msg 15281, Level 16, State 1, Procedure sp_send_dbmail, Line 0&lt;br /&gt;SQL Server blocked access to procedure 'dbo.sp_send_dbmail' of component 'Database Mail XPs' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Database Mail XPs' by using sp_configure. For more information about enabling 'Database Mail XPs', see "Surface Area Configuration" in SQL Server Books Online.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;RESOLUTION:&lt;/strong&gt;&lt;br /&gt;We have to enable the Database Mail feature on the server. In the SQL Server Management Studio to use Transact SQL to enable Database Mail, execute the following statement.&lt;br /&gt;&lt;br /&gt;use master&lt;br /&gt;go&lt;br /&gt;sp_configure ’show advanced options’,1&lt;br /&gt;go&lt;br /&gt;reconfigure with override&lt;br /&gt;go&lt;br /&gt;sp_configure ‘Database Mail XPs’,1&lt;br /&gt;–go&lt;br /&gt;–sp_configure ‘SQL Mail XPs’,0&lt;br /&gt;go&lt;br /&gt;reconfigure&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.&lt;br /&gt;Configuration option 'Database Mail XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.&lt;br /&gt;Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6090289244062499035?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6090289244062499035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6090289244062499035&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6090289244062499035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6090289244062499035'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/msg-15281-level-16-state-1-procedure.html' title='Msg 15281, Level 16, State 1, Procedure sp_send_dbmail, Line 0'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5620395618333992206</id><published>2009-04-17T14:36:00.002+03:00</published><updated>2009-04-17T14:39:39.075+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet Explorer'/><title type='text'>HTTP Error 500 - Internal server error in IE</title><content type='html'>&lt;strong&gt;Error Code:&lt;/strong&gt; 500 Internal Server Error. The request was rejected by the HTTP filter. Contact your ISA Server administrator. (12217)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;RESOLUTION:&lt;/strong&gt;&lt;br /&gt;The 500 Internal Server Error is a "server-side" error, meaning the problem is not with your PC or Internet connection but instead is a problem with the web site's server. Even though the issue is not yours to troubleshoot or resolve, there are a few things you can do: &lt;br /&gt;Retry the web page by clicking the refresh/reload button or trying the URL from the address bar again. Even though the 500 Internal Server Error is reporting a general error on the web site's servers and not your computer, the server error may only be temporary. Trying the page again will often be successful.&lt;br /&gt;&lt;br /&gt;Note: If the 500 Internal Server Error message appears during the checkout process at an online merchant, be aware that duplicate attempts to checkout may end up creating multiple orders - and multiple charges! Most merchants have automatic protections from these kinds of actions but it's still something to keep in mind.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Come back later. The 500 Internal Server Error message is one of the most common error message seen when checking out during an online purchase so sales are often disrupted. This is usually a great incentive to resolve the issue very quickly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you can't wait any longer for the problem to be resolved or if you'd like to help out, you may want to attempt to contact the webmaster or another website contact and advise them of their server error. The webmaster of most Internet sites can be reached via email at webmaster@website.com, replacing website.com with the actual website name.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5620395618333992206?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5620395618333992206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5620395618333992206&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5620395618333992206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5620395618333992206'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/http-error-500-internal-server-error-in.html' title='HTTP Error 500 - Internal server error in IE'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7952654910935773612</id><published>2009-04-17T14:08:00.003+03:00</published><updated>2009-04-17T14:22:00.015+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>Unity : Türlerine göre yıllık kesilen faturaların sayısı</title><content type='html'>Fatura türlerine göre gruplanmış, bir yıl içinde kesilen faturaların sorgusu aşağıdadır. Kriterleri değiştirerek farklı amaçlarla bu sorguyu kullanabilirsiniz. Sorguda fatura türünü gösteren DBO.Ay_isl fonksiyonu için &lt;a href="http://serkansonmez.blogspot.com/2009/01/unityde-kullanlan-irsaliye-trlerini.html"&gt;tıklayınız.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SORGU:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;select TRCODE,COUNT(TRCODE) as fatura_sayisi,DBO.Ay_isl('FT',TRCODE) fatura_turu&lt;br /&gt;from LG_108_01_INVOICE GROUP BY TRCODE ORDER BY TRCODE&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/Sehlnj5pEqI/AAAAAAAAAbM/3STi-X1liRc/s1600-h/T%C3%BCrlerine+g%C3%B6re+y%C4%B1ll%C4%B1k+kesilen+faturalar%C4%B1n+say%C4%B1s%C4%B1.GIF"&gt;&lt;img id="BLOGGER_PHOTO_ID_5325618289691923106" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 181px" alt="" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/Sehlnj5pEqI/AAAAAAAAAbM/3STi-X1liRc/s320/T%C3%BCrlerine+g%C3%B6re+y%C4%B1ll%C4%B1k+kesilen+faturalar%C4%B1n+say%C4%B1s%C4%B1.GIF" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7952654910935773612?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7952654910935773612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7952654910935773612&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7952654910935773612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7952654910935773612'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/unity-turlerine-gore-yllk-kesilen.html' title='Unity : Türlerine göre yıllık kesilen faturaların sayısı'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/Sehlnj5pEqI/AAAAAAAAAbM/3STi-X1liRc/s72-c/T%C3%BCrlerine+g%C3%B6re+y%C4%B1ll%C4%B1k+kesilen+faturalar%C4%B1n+say%C4%B1s%C4%B1.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2173817421578449030</id><published>2009-04-17T12:12:00.002+03:00</published><updated>2009-04-17T12:19:50.154+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>UNITY : STLINE üzerinde REMAMOUNT ve REMLNUNITAMNT sıfırlanmama sorunu</title><content type='html'>Logo Unity'de STLINE üzerinde bulunan REMAMOUNT ve REMLNUNITAMNT alanlarında bir çıkış hareketi olduktan sonra normalde sıfır olması gerekirken 2,48689957516035E-14&lt;br /&gt;gibi rakamlar oluşuyorsa bu kayıtların update yapılarak düzeltilmesi gerekir. (Bu sorun 1.71 versiyonunda var) Bu problemden dolayı aynı malzemeye ait çıkış hareketlerinde sorunlar meydana geliyor, hareket veya irsaliye fişleri, malzemeler yeterli miktarda gözükseler bile oluşturulamıyor. Aşağıdaki sorguları kullanarak sorunu giderebilirsiniz.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select REMAMOUNT,REMLNUNITAMNT,* from LG_109_01_SLTRANS WHERE REMLNUNITAMNT &lt; 0.0001 AND REMLNUNITAMNT&lt;&gt;0&lt;br /&gt;--UPDATE LG_109_01_SLTRANS WITH(READPAST) SET REMLNUNITAMNT=0  WHERE REMLNUNITAMNT &lt; 0.0001 AND REMLNUNITAMNT&lt;&gt;0&lt;br /&gt;&lt;br /&gt;select REMAMOUNT,* from LG_109_01_SLTRANS WHERE REMAMOUNT &lt; 0.0001 AND REMAMOUNT&lt;&gt;0&lt;br /&gt;--UPDATE LG_109_01_SLTRANS  WITH(READPAST) SET REMAMOUNT=0  WHERE REMAMOUNT &lt; 0.0001 AND REMAMOUNT&lt;&gt;0&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2173817421578449030?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2173817421578449030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2173817421578449030&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2173817421578449030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2173817421578449030'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/unity-stline-uzerinde-remamount-ve.html' title='UNITY : STLINE üzerinde REMAMOUNT ve REMLNUNITAMNT sıfırlanmama sorunu'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8505049186833487967</id><published>2009-04-17T11:55:00.000+03:00</published><updated>2009-04-17T11:56:03.467+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>Unity'de Farklı Dövizler üzerinden Borç Kapatma İşlemleri</title><content type='html'>Farklı dövizler üzerinden borç kapatma yapılacaksa,  kur farkları işlem tarihi ya da ödeme tarihi esas alınarak hesaplatılır. Kur farkının hesaplama şekli  ve ödemelerin ne şekilde izleneceği  cari hesap kartında  Ticari Bilgiler sayfasında belirlenir. &lt;br /&gt; &lt;br /&gt;&lt;a name="_Toc535383299"&gt;Cari hesap için ödeme İzleme öndeğeri&lt;/a&gt;&lt;br /&gt;Borç kapatma işlemlerinin ne şekilde yapılacağı a cari hesap kartında Ticari bilgiler sayfasında Ödeme izleme alanında belirlenir.  Ödeme izleme 2 şekilde yapılır.&lt;br /&gt; &lt;br /&gt;1. Aynı dövizli işlemlerle: Cari hesaba ait borç takip ve ödemeler tek bir döviz türü üzerinden izlenir. Farklı işlem dövizi üzerinden kaydedilen faturalar ve ödeme hareketleri birbirini kapatamaz. Kapatma işlemi yapıldığında program işlem döviz türleri uyuşmuyor mesajı verir.&lt;br /&gt;2. Değişik dövizli işlemlerle: Farklı işlem dövizi üzerinden yapılan işlemler ve ödemeler birbirini kapatabilir.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8505049186833487967?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8505049186833487967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8505049186833487967&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8505049186833487967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8505049186833487967'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/unityde-farkl-dovizler-uzerinden-borc.html' title='Unity&apos;de Farklı Dövizler üzerinden Borç Kapatma İşlemleri'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3371168153150298552</id><published>2009-04-17T11:42:00.000+03:00</published><updated>2009-04-17T11:46:31.050+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How can be used to remove all database pages and clear cache from the memory in SQL Server?</title><content type='html'>Use DBCC FREEPROCCACHE to clear the procedure cache. Freeing the procedure cache would cause, for example, an ad-hoc SQL statement to be recompiled rather than reused from the cache. If observing through SQL Profiler, one can watch the Cache Remove events occur as DBCC FREEPROCCACHE goes to work. DBCC FREEPROCCACHE will invalidate all stored procedure plans that the optimizer has cached in memory and force SQL Server to compile new plans the next time those procedures are run.&lt;br /&gt;&lt;br /&gt;Use DBCC DROPCLEANBUFFERS to test queries with a cold buffer cache without shutting down and restarting the server. DBCC DROPCLEANBUFFERS serves to empty the data cache. Any data loaded into the buffer cache due to the prior execution of a query is removed.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;DBCC&lt;/span&gt; FREEPROCCACHE&lt;br /&gt;&lt;span style="color:#000099;"&gt;DBCC&lt;/span&gt; DROPCLEANBUFFERS&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3371168153150298552?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3371168153150298552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3371168153150298552&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3371168153150298552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3371168153150298552'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-can-be-used-to-remove-all-database.html' title='How can be used to remove all database pages and clear cache from the memory in SQL Server?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7376623188050406004</id><published>2009-04-17T11:26:00.000+03:00</published><updated>2009-04-17T11:35:01.121+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How do I reduce the size of my MS SQL database?</title><content type='html'>Shrink the size of the database data and log files.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;      DBCC SHRINKDATABASE ('database' option [,option] ) [WITH NO_INFOMSGS]&lt;br /&gt;&lt;br /&gt;      DBCC SHRINKDATABASE ('database_id' option [,option] ) [WITH NO_INFOMSGS]&lt;br /&gt;&lt;br /&gt;      DBCC SHRINKDATABASE (0 option [,option]) [WITH NO_INFOMSGS]&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;       target_percent&lt;br /&gt;       NOTRUNCATE&lt;br /&gt;       TRUNCATEONLY&lt;br /&gt;&lt;br /&gt;Key:&lt;br /&gt;     0            - Shrink the current database&lt;br /&gt;&lt;br /&gt;   target_percent - Percentage of free space to remain in the database file&lt;br /&gt;&lt;br /&gt;   NOTRUNCATE    - Free space at the end of the data file is not returned to the OS&lt;br /&gt;                    (pages are still moved)&lt;br /&gt;   TRUNCATEONLY  - Release free space at the end of the data file to the OS&lt;br /&gt;                    (do not move pages)&lt;br /&gt; NO_INFOMSGS   - Suppress all information messages (severity 0-10)&lt;br /&gt;Only one of the truncate options can be specified - they do not apply to log files. &lt;br /&gt;&lt;br /&gt;Example&lt;br /&gt;&lt;br /&gt;DBCC SHRINKDATABASE (MyDatabase);&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7376623188050406004?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7376623188050406004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7376623188050406004&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7376623188050406004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7376623188050406004'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-do-i-reduce-size-of-my-ms-sql.html' title='How do I reduce the size of my MS SQL database?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3853533359811235168</id><published>2009-04-17T11:17:00.002+03:00</published><updated>2009-04-17T11:26:09.617+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>LOGO Unity, STLINE üzerindeki sıfır olan kur bilgisinin update edilmesi</title><content type='html'>Logo Unity'de, yerel para birimi ile dövizlerin birlikte gösterildiği bazı raporlarda "Divide by zero"  hatası alıyorsanız LG_209_01_STLINE tablosunda döviz bilgisinin girilmemesinden kaynaklanan bir sorun olabilir. Aşağıdaki Query, STLINE tablosundaki döviz bilgisi sıfır olan satırların, döviz tablosundan ilgili tarihteki döviz bilgisi alınarak update yapılmasını sağlar. Sorguyu kendi tablolarınıza göre değiştirmelisiniz.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DECLARE @LOGREF INT&lt;br /&gt;DECLARE @DATE DATETIME &lt;br /&gt;DECLARE @RR FLOAT&lt;br /&gt;DECLARE BIRIMKODU CURSOR FOR &lt;br /&gt;SELECT LOGICALREF, DATE_ &lt;br /&gt;FROM LG_209_01_STLINE (NOLOCK) WHERE REPORTRATE=0 AND TRCODE IN (2,3,7,8,1,6)&lt;br /&gt;OPEN BIRIMKODU&lt;br /&gt;FETCH NEXT FROM BIRIMKODU &lt;br /&gt;INTO @LOGREF, @DATE&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;    SELECT @RR=RATES1 FROM L_DAILYEXCHANGES (nolock) WHERE CRTYPE=1 AND EDATE =@DATE&lt;br /&gt; UPDATE LG_209_01_STLINE SET REPORTRATE =@RR&lt;br /&gt; WHERE LOGICALREF=@LOGREF&lt;br /&gt;FETCH NEXT FROM BIRIMKODU &lt;br /&gt;INTO @LOGREF, @DATE  &lt;br /&gt;END&lt;br /&gt;CLOSE BIRIMKODU&lt;br /&gt;DEALLOCATE BIRIMKODU&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3853533359811235168?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3853533359811235168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3853533359811235168&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3853533359811235168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3853533359811235168'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/logo-unity-stline-uzerindeki-sfr-olan.html' title='LOGO Unity, STLINE üzerindeki sıfır olan kur bilgisinin update edilmesi'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-9031506396925263614</id><published>2009-04-17T11:14:00.000+03:00</published><updated>2009-04-17T11:16:16.733+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-12838: cannot read/modify an object after modifying it in parallel</title><content type='html'>&lt;strong&gt;ORA-12838:&lt;/strong&gt; cannot read/modify an object after modifying it in parallelIs it a must that i should commit immediately After that delete inorder to avoid that above error.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is a limitation of parallel DML .&lt;br /&gt;&lt;br /&gt;Once a table has been modified by a parallel DML statement, that table cannot be accessed in a subsequent SQL statement (serial or parallel, DML or query) in the same transaction before the transaction is committed.&lt;br /&gt;&lt;br /&gt;Please check the following link for other limitations.&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/oramag/oracle/05-may/o35dba.html"&gt;http://www.oracle.com/technology/oramag/oracle/05-may/o35dba.html&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;So you either have to remove the parallel execution, or commit after the delete.&lt;br /&gt;&lt;br /&gt;BTW, if you are deleting every row, it's better to truncate the table. Be aware though that truncate is DDL therefore implies a commit in it.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-9031506396925263614?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/9031506396925263614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=9031506396925263614&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/9031506396925263614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/9031506396925263614'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-12838-cannot-readmodify-object.html' title='ORA-12838: cannot read/modify an object after modifying it in parallel'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-889239615143863055</id><published>2009-04-17T11:10:00.001+03:00</published><updated>2009-04-17T11:14:30.013+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet Explorer'/><title type='text'>Error Code 10061: Connection refused in Internet Explorer</title><content type='html'>&lt;ul&gt;&lt;li&gt;Error Code 10061: Connection refused &lt;/li&gt;&lt;li&gt;Background: When the gateway or proxy server contacted the upstream (Web) server, the connection was refused. This usually results from trying to connect to a service that is inactive on the upstream server.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;Resolotion:&lt;/strong&gt; &lt;/p&gt;&lt;p&gt;Problem was resolved by publishing another Web Chaining Rule, to redirect external requests to our ISP's upstream proxy.&lt;br /&gt;&lt;br /&gt;Last Default Rule is set to retrieve requests directly &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-889239615143863055?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/889239615143863055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=889239615143863055&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/889239615143863055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/889239615143863055'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/error-code-10061-connection-refused-in.html' title='Error Code 10061: Connection refused in Internet Explorer'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6837334665912540233</id><published>2009-04-16T08:47:00.003+03:00</published><updated>2009-04-16T08:56:30.691+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LDAP'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Active Directory'/><title type='text'>Reading Information from the LDAP Server with C#</title><content type='html'>Bring information down from the server and format it into an XmlDocument object. So let's add some variables to our method. I have initialized them to string.Empty and for the instance of AuthenticationTypes, I have initialized it to Anonymous.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;string domainAndUsername = string.Empty; &lt;br /&gt;string userName = string.Empty; &lt;br /&gt;string passWord = string.Empty; &lt;br /&gt;AuthenticationTypes at = AuthenticationTypes.Anonymous;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Next we populate the connectivity information with real values:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;domainAndUsername = @"LDAP://123.12.12.123/dc=youcanlearnseries,dc=abc.us,dc=com";&lt;br /&gt;userName= "kenno" ;&lt;br /&gt;passWord= "password";&lt;br /&gt;at = AuthenticationTypes.Secure;&lt;/strong&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Yes, we could have populated this information when we initialized the objects, but if you want to pass in multiple Directory servers, Active Directory, Sun One, etc., then this allows you to create the variable and then populate it later after user input. &lt;br /&gt;&lt;br /&gt;Then we create an instance of a DirectoryEntry object. This object encapsulates a node in the Directory Services hierarchy. We pass into the object the connectivity information we created previously.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;DirectoryEntry entry = new DirectoryEntry(domainAndUsername,userName, passWord,at);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To actually query the Directory server, we will create an instance of a DirectorySearcher object and we will pass into the DirectorySearcher object the DirectoryEntry object we created in the previous step.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;DirectorySearcher mySearcher = new DirectorySearcher(entry);&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The results of the query are stored in a collection object, SearchResultCollection, called results. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SearchResultCollection results;&lt;/strong&gt;&lt;br /&gt;    &lt;br /&gt;We still want to filter the final results so we add the filter query to the mySearcher object.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;mySearcher.Filter = filter;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;And finally, we query the LDAP repository, storing the results in the results collection.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;results = mySearcher.FindAll();&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The rest of the formula is simple yet slightly confusing in its implementation. We have all the information returned for our query of the Directory Server stored in a SearchResultCollection object as a collection of properties and values. We are going to build our own XML object to return to our calling web service. Using a foreach loop, we iterate through the result collection, pulling out properties first and then within each property we find the actual value stored in the hierarchy. The code below has been shortened to show how the loop through the collection works. &lt;br /&gt;&lt;br /&gt;foreach(SearchResult resEnt in results)&lt;br /&gt;{&lt;br /&gt; ResultPropertyCollection propcoll=resEnt.Properties;&lt;br /&gt; foreach(string key in propcoll.PropertyNames)          &lt;br /&gt; {&lt;br /&gt;  foreach(object values in propcoll[key])&lt;br /&gt;  { switch (key)&lt;br /&gt;   case "sn":&lt;br /&gt;    sb.Append(key.ToString() + "&lt;surname&gt;" &lt;br /&gt;    + values.ToString() + "&lt;/surname&gt;");&lt;br /&gt;    break;&lt;br /&gt;   case "cn":&lt;br /&gt;    sb.Append(key.ToString() + "&lt;cn&gt;" &lt;br /&gt;    + values.ToString() + "&lt;/cn&gt;");&lt;br /&gt;    break;&lt;br /&gt;   case "name":&lt;br /&gt;    sb.Append(key.ToString() + "&lt;name&gt;" &lt;br /&gt;    + values.ToString() + "&lt;/name&gt;");&lt;br /&gt;    break;&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;The "key" that we need is determined by the LDAP directory you are using. Sun One uses different keys than Microsoft's Active Directory. So the system administrator might be able to inform you of the keys to use for your specific application, or you filter at a higher level and see what keys are returned and break it down yourself. &lt;br /&gt;&lt;br /&gt;Each user that we select from our query we are going to wrap in a &lt;User&gt; tag of our XML object. Notice that we create them as a StringBuilder object and then before we send them to the calling object, we load them into an XmlDocument object. We could have created an XML schema and then loaded them into the XmlDocument as we go, but for this example, I felt that was more information than needed.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6837334665912540233?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6837334665912540233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6837334665912540233&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6837334665912540233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6837334665912540233'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/reading-information-from-ldap-server.html' title='Reading Information from the LDAP Server with C#'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5526482885260109395</id><published>2009-04-14T13:17:00.002+03:00</published><updated>2009-04-14T13:30:28.860+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>How can I list Locked and inactive sessions in Oracle?</title><content type='html'>SELECT c.owner, c.object_name, c.object_type,&lt;br /&gt;       fu.user_name locking_fnd_user_name,&lt;br /&gt;       fl.start_time locking_fnd_user_login_time, vs.module, vs.machine,&lt;br /&gt;       vs.osuser, vlocked.oracle_username, vs.SID, vp.pid,&lt;br /&gt;       vp.spid AS os_process, vs.serial#, vs.status, vs.saddr, vs.audsid,&lt;br /&gt;       vs.process&lt;br /&gt;  FROM fnd_logins fl,&lt;br /&gt;       fnd_user fu,&lt;br /&gt;       v$locked_object vlocked,&lt;br /&gt;       v$process vp,&lt;br /&gt;       v$session vs,&lt;br /&gt;       dba_objects c&lt;br /&gt; WHERE vs.SID = vlocked.session_id&lt;br /&gt;   AND vlocked.object_id = c.object_id&lt;br /&gt;   AND vs.paddr = vp.addr&lt;br /&gt;   AND vp.spid = fl.process_spid(+)&lt;br /&gt;   AND vp.pid = fl.pid(+)&lt;br /&gt;   AND fl.user_id = fu.user_id(+)&lt;br /&gt;   AND c.object_name LIKE '%' || UPPER ('&amp;tab_name_leaveblank4all') || '%'&lt;br /&gt;   AND NVL (vs.status, 'XX') != 'KILLED'; --&lt;-change it&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5526482885260109395?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5526482885260109395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5526482885260109395&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5526482885260109395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5526482885260109395'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-can-i-list-locked-and-inactive.html' title='How can I list Locked and inactive sessions in Oracle?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6319669280863901012</id><published>2009-04-14T13:07:00.001+03:00</published><updated>2009-04-14T13:09:20.681+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Query execution time in Oracle?</title><content type='html'>Oracle 10g has R1 and R2 (r stands for Release).&lt;br /&gt;I hope you have installed R3 (10.2.0.x)&lt;br /&gt;&lt;br /&gt;To sped up the processing you have to do 2 important things:&lt;br /&gt;&lt;br /&gt;1. To investigate and possibly to increase the size of SGA components - db_buffer_cache, shared_pool_cache&lt;br /&gt;&lt;br /&gt;2. To run the statistics package (as SYS):&lt;br /&gt;&lt;br /&gt;CREATE OR REPLACE PROCEDURE compute_statistics IS&lt;br /&gt;BEGIN &lt;br /&gt;   dbms_stats.gather_database_stats(cascade=&gt;true);&lt;br /&gt;END compute_statistics;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;Now either run:&lt;br /&gt;&lt;br /&gt;execute compute_statistics;&lt;br /&gt;&lt;br /&gt;or schedule once weekly:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;set serveroutput on&lt;br /&gt;set linesize 200000&lt;br /&gt;variable x number;&lt;br /&gt;begin &lt;br /&gt;   DBMS_OUTPUT.enable(200000);   &lt;br /&gt;   dbms_job.submit(:x,'compute_statistics;',trunc(sysdate),'trunc(sysdate+7)'); &lt;br /&gt;   commit;&lt;br /&gt;   dbms_output.put_line(TO_char(:x));&lt;br /&gt;end;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6319669280863901012?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6319669280863901012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6319669280863901012&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6319669280863901012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6319669280863901012'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/query-execution-time-in-oracle.html' title='Query execution time in Oracle?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3201938874460550113</id><published>2009-04-14T13:06:00.000+03:00</published><updated>2009-04-14T13:07:13.699+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>How to find last executed queries in Oracle?</title><content type='html'>select c.spid b1, b.osuser c1, b.username c2, b.sid b2, b.serial# b3,&lt;br /&gt;  a.sql_text,b.status&lt;br /&gt;    from v$SQLTEXT_WITH_NEWLINES a&lt;br /&gt;, v$session b, v$process c&lt;br /&gt;     where a.address    = b.sql_address&lt;br /&gt;and a.username='&amp;username'&lt;br /&gt;     and b.paddr      = c.addr&lt;br /&gt;     and a.hash_value = b.sql_hash_value&lt;br /&gt;order by c.spid,a.hash_value,a.piece&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3201938874460550113?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3201938874460550113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3201938874460550113&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3201938874460550113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3201938874460550113'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-find-last-executed-queries-in_14.html' title='How to find last executed queries in Oracle?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4798932168424179469</id><published>2009-04-14T13:03:00.000+03:00</published><updated>2009-04-14T13:04:57.969+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sybase'/><title type='text'>Which query is currently executing to debug the database performance?</title><content type='html'>Open an interactive sql session to the server you are interested in using Sybase Central.&lt;br /&gt;&lt;br /&gt;do and sp_who and see who is running queries at the moment. &lt;br /&gt;&lt;br /&gt;dbcc traceon(7201)&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;dbcc sqltext(spid)  --- where spid is the id of the client running the query you are interested in&lt;br /&gt;go&lt;br /&gt;&lt;br /&gt;This will give you the last executed statement.  If your data server isn't a busy one, then this may help you in debugging&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4798932168424179469?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4798932168424179469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4798932168424179469&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4798932168424179469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4798932168424179469'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/which-query-is-currently-executing-to.html' title='Which query is currently executing to debug the database performance?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-48427050272502878</id><published>2009-04-14T12:53:00.001+03:00</published><updated>2009-04-14T12:54:36.326+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How to find last executed queries in SQL server 2005?</title><content type='html'>SELECT deqs.last_execution_time AS [DateTime], dest.text AS [Query]&lt;br /&gt;FROM sys.dm_exec_query_stats AS deqs&lt;br /&gt;CROSS APPLY sys.dm_exec_sql_text(deqs.sql_handle) AS dest&lt;br /&gt;ORDER BY deqs.last_execution_time DESC&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_f9DHGDBJO6c/SeRdSXvn2xI/AAAAAAAAAac/PnlqFHGKDnY/s1600-h/lastexecuteqry_sqlserver.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 97px;" src="http://3.bp.blogspot.com/_f9DHGDBJO6c/SeRdSXvn2xI/AAAAAAAAAac/PnlqFHGKDnY/s320/lastexecuteqry_sqlserver.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5324483229651557138" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-48427050272502878?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/48427050272502878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=48427050272502878&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/48427050272502878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/48427050272502878'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-find-last-executed-queries-in.html' title='How to find last executed queries in SQL server 2005?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_f9DHGDBJO6c/SeRdSXvn2xI/AAAAAAAAAac/PnlqFHGKDnY/s72-c/lastexecuteqry_sqlserver.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-9075682423868344205</id><published>2009-04-13T13:51:00.004+03:00</published><updated>2009-04-13T13:55:35.179+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>JavaScript Special Characters in C#</title><content type='html'>In JavaScript you can add special characters to a text string by using the backslash sign.&lt;br /&gt;&lt;br /&gt;Insert Special Characters&lt;br /&gt;The backslash (\) is used to insert apostrophes, new lines, quotes, and other special characters into a text string.&lt;br /&gt;&lt;br /&gt;Look at the following JavaScript code:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;var txt="We are the so-called "Vikings" from the north.";&lt;br /&gt;document.write(txt); &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In JavaScript, a string is started and stopped with either single or double quotes. This means that the string above will be chopped to: We are the so-called&lt;br /&gt;&lt;br /&gt;To solve this problem, you must place a backslash (\) before each double quote in "Viking". This turns each double quote into a string literal:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;var txt="We are the so-called \"Vikings\" from the north.";&lt;br /&gt;document.write(txt); &lt;/strong&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Code&lt;/strong&gt;     &lt;strong&gt;Outputs &lt;/strong&gt;&lt;br /&gt;\'   --&gt; single quote &lt;br /&gt;\"   --&gt; double quote &lt;br /&gt;\&amp;   --&gt; ampersand &lt;br /&gt;\\   --&gt; backslash &lt;br /&gt;\n   --&gt; new line &lt;br /&gt;\r   --&gt; carriage return &lt;br /&gt;\t   --&gt; tab &lt;br /&gt;\b   --&gt; backspace &lt;br /&gt;\f   --&gt; form feed &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Example 2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;_List.ListRow.AddColumn("&lt;a onclick=\"return false;\" id=\"ctl01_lnkShow\" href=\"javascript:__doPostBack(\'ctl01$lnkShow\',\'\')\"&gt;" + GetStatus(_COSTLINE.GetSTATUS()) + " &lt;/a&gt;", "Left", false, "7%");&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-9075682423868344205?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/9075682423868344205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=9075682423868344205&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/9075682423868344205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/9075682423868344205'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/javascript-special-characters-in-c.html' title='JavaScript Special Characters in C#'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7326764194930277678</id><published>2009-04-13T08:19:00.002+03:00</published><updated>2009-04-13T08:24:32.631+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><title type='text'>How to change postgresql Sequence number?</title><content type='html'>In general you can use the code below to set the value. (similar to &lt;br /&gt;"ALTER TABLE XTable AUTO_INCREMENT = 311" in MsSQL database)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SELECT setval('schemaname.sequencename', 1467);&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7326764194930277678?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7326764194930277678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7326764194930277678&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7326764194930277678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7326764194930277678'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-change-postgresql-sequence.html' title='How to change postgresql Sequence number?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1823456548153067640</id><published>2009-04-09T08:32:00.004+03:00</published><updated>2009-04-09T08:40:37.891+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Framework 3.5'/><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>The Tabular Data Stream (TDS) version 0x730a0003 of the client library used to open the connection is unsupported or unknown.</title><content type='html'>Some customers have reported connection failure because of wrong TDS version. &lt;br /&gt;The client application gets the following error message: (or similar depends on the protocol used)&lt;br /&gt;&lt;em&gt;&lt;br /&gt;A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you check the errorlog of your SQL Server, you see the following error message: &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;em&gt;The Tabular Data Stream (TDS) version 0x730a0003 of the client library used to open the connection is unsupported or unknown. The connection has been closed. [CLIENT: x.x.x.x]&lt;br /&gt;&lt;br /&gt;Error: 17802, Severity: 20, State: 1.&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;Depends on your client version, 0x730a0003 could be 0x73080003 or 0x73090003 as well.&lt;br /&gt;&lt;br /&gt;The failure only happens when connecting to SQL Server 2008 CTP releases. Usually the client involved uses SQLClient which is part of .Net Framework. The reason here is that we don't supported connection between intermediate TDS version. SNAC usually ships with SQL Server and they are managed to be in the same TDS level. If you download SNAC CTP separately or make connection across machines with different level of SNAC, you may also see similar error. As a background, for 0x730a0003 TDS version, 73 represents TDS major version 7.3, 0x03 is the minor version for TDS7.3, 0xa is the intermediate TDS version number. &lt;br /&gt;&lt;br /&gt;We have shipped the following intermediate TDS version for SQL Server 2008. &lt;br /&gt;&lt;br /&gt;·         08 first 7.3 TDS version in Katmai  (Shipped with Katmai CTP3 --Jun 2007--, Orcas Beta1)&lt;br /&gt;&lt;br /&gt;·         09 TVP (Table Value Parameter) and NewDateTime (Shipped with Katmai CTP4 --build #1049, July 2007--, Orcas Beta2)&lt;br /&gt;&lt;br /&gt;·         0A Large UDT (Shipped with Katmai CTP5 --build #1185, Nov 2007--, Orcas RTM, Vista SP1)&lt;br /&gt;&lt;br /&gt;·         0B SparseColumn (Shipped with Katmai CTP6 --build #1321 Feb 2008-- ) &lt;br /&gt;&lt;br /&gt;All .Net Framework 3.5 released after Orcas RTM is on 0x0A TDS level. All SQL Server 2008 release after CTP6 (including RC0 and RTM) is on 0x0B TDS level. Connection can only be made between same TDS intermediate version, with one exception: &lt;br /&gt;&lt;br /&gt;0B level of SQL Server can also accept 0A level of client. Thus, Orcas RTM can connect to SQL Server 2008 RTM without problem. &lt;br /&gt;&lt;br /&gt;With the mechanism in place, it's fairly easy to tell which client can connect to which server. e.g. connection from Orcas RTM to Katmai CTP4 server would fail.&lt;br /&gt;&lt;br /&gt;Orcas RTM contains .Net Framework 3.5. Some words worth to be quoted here: "As with .NET Framework 3.0, version 3.5 uses the CLR of version 2.0. In addition, it installs .NET Framework 2.0 SP1 and .Net Framework 3.0 SP1."&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;As a final note, you should not see the failure when there is no CTP server or beta version of client involved. Connection between RTM of client and server is always guaranteed.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1823456548153067640?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1823456548153067640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1823456548153067640&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1823456548153067640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1823456548153067640'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/tabular-data-stream-tds-version.html' title='The Tabular Data Stream (TDS) version 0x730a0003 of the client library used to open the connection is unsupported or unknown.'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3445532974719904683</id><published>2009-04-09T08:12:00.001+03:00</published><updated>2009-04-10T09:04:34.599+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Expiring a cookie in CSharp</title><content type='html'>The first thing you need to understand about cookies is this: Cookies carry an expiry date. The second thing you need to understand is this: Expiry dates are the cause of most cookie-related bugs.&lt;br /&gt;&lt;br /&gt;Every time you set the Value of a cookie, remember also to set the Expires date. If you fail to do this you will quickly find yourself losing Cookies owing to them having expired immediately when updating them on the client machine or when the browser closes.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;When a cookie expires, the client no longer sends it to the server, so you need to make sure that the Expires property of the cookie is always in the future. If you just set a cookie's value then it will create a cookie with Expires set to DateTime.MinValue (01-Jan-0001 00:00).&lt;br /&gt;&lt;br /&gt;You can set a cookie's Expires property using any DateTime value (a positive relief after ASP). For example, if you want a Cookie to expire after the user has not been to that part of your site for a week, you would set Expires = DateTime.Now.AddDays(7).&lt;br /&gt;&lt;br /&gt;If you want the cookie to be permanent then the temptation is to use DateTime.MaxValue, as I did in the lat version of this article. However, there is a simple gotcha here.&lt;br /&gt;&lt;br /&gt;DateTime.MaxValue is precisely 31-Dec-9999 25:59:59.9999999. But Netscape, even at version 7, doesn't cope with that value and expires the cookie immediately. Amazingly, and somewhat annoyingly, investigation showed that Netscape 7 will cope with 10-Nov-9999 21:47:44 but will not handle a second higher (I'll be honest, I didn't test it to any fraction of a second, I really wasn't interested).&lt;br /&gt;&lt;br /&gt;Thus if, like me, you subscribe to the "it doesn't have to look pretty on Netscape, as long as it's functional on the latest version" school of thought, always use a date prior to that. A commonly accepted "permanent" cookie expiry date is DateTime.Now.AddYears(30), ie. 30 years into the future. If someone hasn't visited your site for that long, do you really care what the state was last time they were there?&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3445532974719904683?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3445532974719904683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3445532974719904683&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3445532974719904683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3445532974719904683'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/expiring-cookie-in-csharp.html' title='Expiring a cookie in CSharp'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-897233250349799569</id><published>2009-04-09T08:03:00.003+03:00</published><updated>2009-04-09T08:07:29.249+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Export and import to Oracle</title><content type='html'>&lt;strong&gt;Prerequisites/Requirements :&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;exp and imp are utilities present in the $ORACLE_HOME/bin directory and are installed when Oracle is installed. Their prime purpose is to move logical objects out of and into the database respectively - for example dumping all of the tables owned by a user to a single file is achieved using the exp utility. It is important to distinguish between dumping data in this manner and backing up the database which is normally achieved using the rman utility.&lt;br /&gt;Starting with Oracle 10g these two utilities are deprecated and the Oracle recommended alternatives are the data pump versions of these utilities which provide a number of new features including the ability to disconnect and reconnect to an interactive session (so a direct logon to the server isn't required) and improved performance. There are still a number of things that cannot be achieved with the data pump utilities - in particular exporting/importing across a named pipe which is a technique used by database administrators when the export file needs to be compressed on the fly or when one wishes to export directly to an import session.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;Before executing these commands, the environment should be set correctly for the user in particular if the examples used on this page are followed the $ORACLE_HOME, $ORACLE_SID and $PATH environment variables need to be set appropriately in a unix environment and the %ORACLE_SID% environment variable needs to be set in a windows environment. If you login as the owner of the oracle software (usually the oracle user on unix) these are likely to have been set in the users profile. The Oracle Database instance needs to be up in order to export/import data. Type 'imp help=y' or 'exp help=y' for a detailed explanation of the available options for these utilities. Some brief examples follow to illustrate the usage of these utilities.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using exp:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To export the entire database to a single file dba.dmp in the current directory.&lt;br /&gt;&lt;br /&gt;- Login to server&lt;br /&gt;&lt;br /&gt;exp SYSTEM/password FULL=y FILE=dba.dmp LOG=dba.log CONSISTENT=y&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;exp SYSTEM/password PARFILE=params.dat&lt;br /&gt;&lt;br /&gt;where params.dat contains the following information&lt;br /&gt;&lt;br /&gt;FILE=dba.dmp&lt;br /&gt;GRANTS=y&lt;br /&gt;FULL=y&lt;br /&gt;ROWS=y&lt;br /&gt;LOG=dba.log&lt;br /&gt;&lt;br /&gt;To dump a single schema to disk (we use the scott example schema here)&lt;br /&gt;&lt;br /&gt;- Login to server which has an Oracle client&lt;br /&gt;&lt;br /&gt;exp &lt;user&gt;/&lt;password&gt; FIlE=scott.dmp OWNER=scott&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To export specific tables to disk:&lt;br /&gt;&lt;br /&gt;- Login to server which has an Oracle client&lt;br /&gt;&lt;br /&gt;exp SYSTEM/password FIlE=expdat.dmp TABLES=(scott.emp,hr.countries)&lt;br /&gt;-the above command uses two users : scott and hr&lt;br /&gt;&lt;br /&gt;exp &lt;user&gt;/&lt;password&gt; FILE=scott.dmp TABLES=(emp,dept)&lt;br /&gt;the above is only for one user&lt;br /&gt;&lt;br /&gt;Using imp:&lt;br /&gt;&lt;br /&gt;To import the full database exported in the example above.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;imp SYSTEM/password FULL=y FIlE=dba.dmp&lt;br /&gt;&lt;br /&gt;To import just the dept and emp tables from the scott schema&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;imp SYSTEM/password FIlE=dba.dmp FROMUSER=scott TABLES=(dept,emp)&lt;br /&gt;&lt;br /&gt;To import tables and change the owner&lt;br /&gt;&lt;br /&gt;imp SYSTEM/password FROMUSER=blake TOUSER=scott FILE=blake.dmp TABLES=(unit,manager)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To import just the scott schema exported in the example above&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;imp &lt;user&gt;/&lt;password&gt; FIlE=scott.dmp&lt;br /&gt;&lt;br /&gt;If you do not supply any parameters then you enter an interactive session as illustrated below.&lt;br /&gt;&lt;br /&gt;$&gt;imp&lt;br /&gt;Import: Release 9.2.0.6.0 - Production on Thu Mar 29 15:07:43 2007&lt;br /&gt;Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.&lt;br /&gt;Username: SYSTEM&lt;br /&gt;Password: password&lt;br /&gt;Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production&lt;br /&gt;With the Partitioning, OLAP and Oracle Data Mining options&lt;br /&gt;JServer Release 9.2.0.6.0 - Production&lt;br /&gt;Import file: expdat.dmp &gt; /mention/path/of/dumpFile/includingFileName.dmp&lt;br /&gt;Enter insert buffer size (minimum is 8192) 30720&gt; (press enter to accept default)&lt;br /&gt;Export file created by EXPORT:V09.02.00 via conventional path&lt;br /&gt;import done in US7ASCII character set and AL16UTF16 NCHAR character set&lt;br /&gt;import server uses AL32UTF8 character set (possible charset conversion)&lt;br /&gt;List contents of import file only (yes/no): no &gt; press enter&lt;br /&gt;Ignore create error due to object existence (yes/no): no &gt; press enter&lt;br /&gt;Import grants (yes/no): yes &gt; press enter&lt;br /&gt;Import table data (yes/no): yes &gt; press enter&lt;br /&gt;Import entire export file (yes/no): no &gt; press enter or type no&lt;br /&gt;Username: give the userName for which you want the data to be imported&lt;br /&gt;Enter table(T) or partition(T:P) names. Null list means all tables for user&lt;br /&gt;Enter table(T) or partition(T:P) name or . if done: press enter&lt;br /&gt;. importing TST_001_V2's objects into TST_001_V2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Good practices&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Always take care about CHARSETS when you do export and import. Using the wrong ones can convert your data in a lossy manner. The best situation is when your source and destination database have the same character sets, so you can avoid completely any character conversion. You control this behaviour by setting NLS_LANG environment variable appropriately. When not set properly you may see 'Exporting questionable statistics' messages.&lt;br /&gt;After doing an export, it is better to check your dump by doing an import with the parameter SHOW=Y. This checks the validity of your dump file.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Other considerations&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;You may need to patch your Oracle client (where you are running exp/imp) to the same level as the Oracle server to prevent errors&lt;br /&gt;When importing large amounts of data consider dropping indexes prior to the import to speed up the process and re-creating them once the import is completed&lt;br /&gt;The amount of archivelogs that may be created on a large import may fill up your disk&lt;br /&gt;On INSERT triggers will fire, consider whether these need to be disabled&lt;br /&gt;Increasing the RECORDLENGTH (max 65535) parameter can improve the length of time to perform an import/export as well as DIRECT=y for export&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Referance: &lt;a href="http://wiki.oracle.com/page/Oracle+export+and+import+?t=anon"&gt;http://wiki.oracle.com/page/Oracle+export+and+import+?t=anon&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-897233250349799569?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/897233250349799569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=897233250349799569&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/897233250349799569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/897233250349799569'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/export-and-import-to-oracle.html' title='Export and import to Oracle'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8039475611091660192</id><published>2009-04-08T17:17:00.005+03:00</published><updated>2009-04-15T10:56:59.437+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>SQL Query that search all column names based on criteria</title><content type='html'>While browsing the SQL Server newsgroups, every once in a while, I see a request for a script that can search all the columns of all the tables in a given database for a specific keyword. I never took such posts seriously. But then recently, one of my network administrators was troubleshooting a problem with Microsoft Operations Manager (MOM). MOM uses SQL Server for storing all the computer, alert and performance related information. He narrowed the problem down to something specific, and needed a script that can search all the MOM tables for a specific string. I had no such script handy at that time, so we ended up searching manually. &lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;That's when I really felt the need for such a script and came up with this stored procedure "SearchAllTables". It accepts a search string as input parameter, goes and searches all char, varchar, nchar, nvarchar columns of all tables (only user created tables. System tables are excluded), owned by all users in the current database. Feel free to extend this procedure to search other datatypes. &lt;br /&gt;&lt;br /&gt;The output of this stored procedure contains two columns: &lt;br /&gt;&lt;br /&gt;- 1) The table name and column name in which the search string was found &lt;br /&gt;- 2) The actual content/value of the column (Only the first 3630 characters are displayed) &lt;br /&gt;&lt;br /&gt;Here's a word of caution, before you go ahead and run this procedure. Though this procedure is quite quick on smaller databases, it could take hours to complete, on a large database with too many character columns and a huge number of rows. So, if you are trying to run it on a large database, be prepared to wait (I did use the locking hint NOLOCK to reduce any locking). It is efficient to use Full-Text search feature for free text searching, but it doesn't make sense for this type of ad-hoc requirements. &lt;br /&gt;&lt;br /&gt;Create this procedure in the required database and here is how you run it:&lt;br /&gt;&lt;br /&gt;--To search all columns of all tables in Pubs database for the keyword "Computer" &lt;br /&gt;EXEC SearchAllTables 'Serkan SONMEZ'&lt;br /&gt;GO &lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_f9DHGDBJO6c/Sdy0Wl2THtI/AAAAAAAAAaU/swly6zd_iXc/s1600-h/searchalltablesresults.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 199px;" src="http://4.bp.blogspot.com/_f9DHGDBJO6c/Sdy0Wl2THtI/AAAAAAAAAaU/swly6zd_iXc/s320/searchalltablesresults.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5322327159855062738" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CREATE PROC SearchAllTables&lt;br /&gt;(&lt;br /&gt; @SearchStr nvarchar(100)&lt;br /&gt;)&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))&lt;br /&gt;&lt;br /&gt; SET NOCOUNT ON&lt;br /&gt;&lt;br /&gt; DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)&lt;br /&gt; SET  @TableName = ''&lt;br /&gt; SET @SearchStr2 = QUOTENAME('%' + @SearchStr + '%','''')&lt;br /&gt;&lt;br /&gt; WHILE @TableName IS NOT NULL&lt;br /&gt; BEGIN&lt;br /&gt;  SET @ColumnName = ''&lt;br /&gt;  SET @TableName = &lt;br /&gt;  (&lt;br /&gt;   SELECT MIN(QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME))&lt;br /&gt;   FROM  INFORMATION_SCHEMA.TABLES&lt;br /&gt;   WHERE   TABLE_TYPE = 'BASE TABLE'&lt;br /&gt;    AND QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME) &gt; @TableName&lt;br /&gt;    AND OBJECTPROPERTY(&lt;br /&gt;      OBJECT_ID(&lt;br /&gt;       QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME)&lt;br /&gt;        ), 'IsMSShipped'&lt;br /&gt;             ) = 0&lt;br /&gt;  )&lt;br /&gt;&lt;br /&gt;  WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)&lt;br /&gt;  BEGIN&lt;br /&gt;   SET @ColumnName =&lt;br /&gt;   (&lt;br /&gt;    SELECT MIN(QUOTENAME(COLUMN_NAME))&lt;br /&gt;    FROM  INFORMATION_SCHEMA.COLUMNS&lt;br /&gt;    WHERE   TABLE_SCHEMA = PARSENAME(@TableName, 2)&lt;br /&gt;     AND TABLE_NAME = PARSENAME(@TableName, 1)&lt;br /&gt;     AND DATA_TYPE IN ('char', 'varchar', 'nchar', 'nvarchar')&lt;br /&gt;     AND QUOTENAME(COLUMN_NAME) &gt; @ColumnName&lt;br /&gt;   )&lt;br /&gt; &lt;br /&gt;   IF @ColumnName IS NOT NULL&lt;br /&gt;   BEGIN&lt;br /&gt;    INSERT INTO #Results&lt;br /&gt;    EXEC&lt;br /&gt;    (&lt;br /&gt;     'SELECT ''' + @TableName + '.' + @ColumnName + ''', LEFT(' + @ColumnName + ', 3630) &lt;br /&gt;     FROM ' + @TableName + ' (NOLOCK) ' +&lt;br /&gt;     ' WHERE ' + @ColumnName + ' LIKE ' + @SearchStr2&lt;br /&gt;    )&lt;br /&gt;   END&lt;br /&gt;  END &lt;br /&gt; END&lt;br /&gt;&lt;br /&gt; SELECT ColumnName, ColumnValue FROM #Results&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8039475611091660192?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8039475611091660192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8039475611091660192&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8039475611091660192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8039475611091660192'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-search-all-columns-of-all-tables.html' title='SQL Query that search all column names based on criteria'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_f9DHGDBJO6c/Sdy0Wl2THtI/AAAAAAAAAaU/swly6zd_iXc/s72-c/searchalltablesresults.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8675930250122896021</id><published>2009-04-08T15:37:00.000+03:00</published><updated>2009-04-08T15:44:38.072+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delphi'/><title type='text'>[Fatal Error] Internal Error: LA30</title><content type='html'>Try deleting all .dcu files and the debugger info (.tds?) then forcing a full build (not just compile).&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8675930250122896021?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8675930250122896021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8675930250122896021&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8675930250122896021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8675930250122896021'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/fatal-error-internal-error-la30.html' title='[Fatal Error] Internal Error: LA30'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4309530660498820350</id><published>2009-04-08T15:29:00.001+03:00</published><updated>2009-04-08T15:31:06.637+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><title type='text'>How to Deal With Errors in C++</title><content type='html'>As a programmer, it's your job to produce robust systems that run smoothly at all times. You don't have to write functions that check flags and return cryptic error codes. Program recovery from a bad situation can be smooth because of a mechanism called C++ Exception Handling. Objects called Exceptions can be "thrown" from the error site and "caught" by an Exception Handler, giving you a chance to set things right.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt;Create an exception class for each base class in your design using a C++ development environment. All can share a common structure. For a File base class create a FileException exception class, for a GameEntity base class create a GameEntityException exception class. Get the pattern? &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt;Place the exception class inside the public area of the base class. The exception class has to be visible as it will be called by the handler.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt;Give each exception class a constructor that accepts an input string. The input string will contain the error message that will be displayed when the exception object gets caught by the handler. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt;Create a handler function for each exception class you have designed. Each handler function is an overloaded "catch" function differing in the type of input argument. The first line of the two handlers would look like, "catch(File::FileException* e) {…" and "catch(GameEntity::GameEntityException* e) {…". Place these exception handler functions right underneath 'main.' &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5.&lt;/strong&gt;Inundate your programming space with "throw" statements. Put them in two major areas. Insert "throw" statements where you see potential for trouble, "if (/*divide by zero*/) {throw Math::MathException("division by zero");}. Declare a 'throw' statement on the right of a function or class that calls exceptions, "void Divide(/*parameters*/) throw (Math::MathException) {…".&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;6.&lt;/strong&gt;Insert your execution code inside "main," within "try" braces. The C++ exception handling mechanism has a try, throw and catch structure. Not only does this make programs extremely robust but it is pleasant to read&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4309530660498820350?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4309530660498820350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4309530660498820350&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4309530660498820350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4309530660498820350'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-deal-with-errors-in-c.html' title='How to Deal With Errors in C++'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1786978285756898529</id><published>2009-04-08T15:21:00.002+03:00</published><updated>2009-04-08T15:28:03.280+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>How to Merge ASP With HTML</title><content type='html'>Merging ASP and HTML enables you to create a dynamic website with a wealth of information.&lt;br /&gt;Below is an illustration of how to create an ASP page for classic ASP and ASP.NET 2.0that show the login credentials of a user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt;Write the programming language you will use for the ASP code. Your options are VBScript, JavaScript and VB or C# for ASP.NET.&lt;br /&gt;&lt;br /&gt;Classic ASP&lt;br /&gt;&lt; %@Language="VBSCript,"&lt;br /&gt;&lt;br /&gt;ASP.NET&lt;br /&gt;&lt; %@Page Language="VB," %&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt;Name the HTML Header and part of BODY section&lt;br /&gt;&lt; HTML&gt;&lt;br /&gt;&lt; HEAD&gt;&lt;br /&gt;&lt; TITLE &gt;Login Page&lt; /TITLE &gt;&lt;br /&gt;&lt; /HEAD &gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Begin the BODY section&lt;br /&gt;&lt;br /&gt;&lt; BODY BGCOLOR="White" TOPMARGIN="10" LEFTMARGIN="10" &gt;&lt;br /&gt;&lt;br /&gt;&lt; FONT SIZE="4" FACE="ARIAL, HELVETICA" &gt;&lt;br /&gt;&lt; B &gt;Login Page&lt; /B&gt;&lt; /FONT &gt;&lt; BR &gt;&lt;br /&gt;&lt;br /&gt;&lt; HR SIZE="1" COLOR="#000000" &gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; Put ASP code within the HTML text&lt;br /&gt;&lt;!--Display LOGON_USER Server variable. --&gt;&lt;br /&gt;&lt;br /&gt;You logged in as user:&lt;B&gt; &lt;%= Request. ServerVariables ("LOGON_USER") %&gt;&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--Display AUTH_TYPE Server variable. --&gt;&lt;br /&gt;&lt;br /&gt;&lt; P&gt;You were authenticated using:&lt; B&gt; &lt; %= Request.ServerVariables("AUTH_TYPE")%  &gt;&lt; /B&gt; authentication. &lt;/ P&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5.&lt;/strong&gt;Insert the closing Tags for BODY and HTML&lt;br /&gt;&lt; /BODY&gt;&lt;br /&gt;&lt; /HTML&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6.&lt;/strong&gt; Save the file. Use .asp for classic ASP file and .aspx for ASP.NET file.&lt;br /&gt;e.g UserCredential.asp or UserCredential.aspx&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1786978285756898529?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1786978285756898529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1786978285756898529&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1786978285756898529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1786978285756898529'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-merge-asp-with-html.html' title='How to Merge ASP With HTML'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3421630527643858428</id><published>2009-04-08T14:43:00.001+03:00</published><updated>2009-04-08T14:45:58.994+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><category scheme='http://www.blogger.com/atom/ns#' term='PERL'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><category scheme='http://www.blogger.com/atom/ns#' term='ColdFusion'/><title type='text'>PHP vs ASP vs JSP vs ColdFusion vs PERL</title><content type='html'>CF - I was an expert at it at one time - before java intragration.  Costs $$$ - so why use it when there are so many good free ones out.  Didn't scale as well as the other languages (when i used it in the past)&lt;br /&gt;&lt;br /&gt;PERL - like the pervious guy said - perl is great - but why, when php is faster to develope, learn, and use. (runs faster too)&lt;br /&gt;&lt;br /&gt;PHP  - its great for small and medium sites.  for large - complex sites with complex business logic, jsp/asp.net win hands down.  Better tools to reuse logic with those.  Runs very fast.  the php/MySQL combo is hard to beat. Very stable.&lt;br /&gt;&lt;br /&gt;asp  - ok, easy to learn, not as easy as CF.  Runs faster then CF, slower then PHP.  If you don't already know it - move on to .net&lt;br /&gt;&lt;br /&gt;asp.net - good web language. The fastest out there and very easy to scale.  But again - you have to pay for the OS.  Very stable.  &lt;br /&gt;&lt;br /&gt;JSP - only JSP and asp.net are really fully object oriented and you can reuse your code in websites, serverside apps and client apps.  JSP is a little harded to learn (java vs VB) JSP can be fast - but its harder to tune then asp.net.  Out of the box - asp.net is faster.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3421630527643858428?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3421630527643858428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3421630527643858428&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3421630527643858428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3421630527643858428'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/php-vs-asp-vs-jsp-vs-coldfusion-vs-perl.html' title='PHP vs ASP vs JSP vs ColdFusion vs PERL'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8775505442102882870</id><published>2009-04-08T14:41:00.000+03:00</published><updated>2009-04-08T14:43:08.767+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>SQL Server vs MySQL vs Oracle vs PostgreSQL</title><content type='html'>As far as features, performance and power goes, Oracle is leader of the pack clearly. There are more features and tools available for Oracle than for any other DB. However, you will be paying, and paying dearly. You will be able to rest assured that your DB system is the best that money can buy.&lt;br /&gt;&lt;br /&gt;Now in most cases, money *is* an object, and as such tradeoffs must be made. In my opinion, PostgreSQL is just below Oracle for powerand features. In fact, there are some things now that PGSQL even do better than Oracle especially in terms of transaction concurrency, PGSQL's MVCC (Multi Version Concurrency Control) model is widely accepted as beign the best conscurrency handling system there is. And its catching up. PGSQL version 8 is due out any day now, there are huge performance increases and features being added in the new version such as native Windows support (it will now install and run on any Win32 system including NT, 2000, XP and 2003), replication in the Slony-I project which brings PGSQL's scaleability to Oracle's calibre.&lt;br /&gt;&lt;br /&gt;MySQL is a non-fitter in my opinion. It would be a great product, but since PGSQL's performance has taken great steps in the last few years there is little room for this between PGSQL and SQLite for MySQL to fit in. (SQLite is an ultralightweight, ultrafast SQL database that is embeddable and can be used for small simple projects, and is blisteringly fast in such uses.) MySQL has a *huge* following, and I'm risking a lynching bad mouthing it here, but I personally feel that it is a has-been product with benefits that were once leaders of the pack but have since been overtaken by superior products, namely PostgreSQL and SQLite.&lt;br /&gt;&lt;br /&gt;MS SQL is a good product to work with if you're a die hard Windows and Microsoft user and are familiar enough with the other software that goes with it, and are comfortable paying large amounts of money for licences. Personally, with far superior open source options, I feel that MS SQL is a silly choice unless you have your hands tied by other considerations such as licencing constraints or compatibility with other MS products.&lt;br /&gt;&lt;br /&gt;Finally, my overall view is that I use SQLite for small projects such as web polls and guestbooks where only the standard SQL commands are sufficient and there is no need for transactions, row/column/table locking, stored procedures and the like. I use PostgreSQL for large projects requiring transactions, stored procedures and with replication I cannot see myself involved in anything too big for PG. In fact I can't think of anything outside genetics and other highly specialised fields where PG would not suffice.&lt;br /&gt;&lt;br /&gt;Finally, PG is distributed under the BSD licence, which means there is no chance of licencing compliance issues in your application, and you are guaranteed that there will never be any costs associated with the use of the DB itself.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8775505442102882870?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8775505442102882870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8775505442102882870&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8775505442102882870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8775505442102882870'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/sql-server-vs-mysql-vs-oracle-vs.html' title='SQL Server vs MySQL vs Oracle vs PostgreSQL'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2755553258718673646</id><published>2009-04-08T09:10:00.002+03:00</published><updated>2009-04-08T09:14:44.217+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sybase'/><title type='text'>List of all Tables in Sybase</title><content type='html'>CREATE TABLE #TT (IDENT NUMERIC(12) IDENTITY,&lt;br /&gt;                  ...... all the rest of your columns in your result set...)&lt;br /&gt; &lt;br /&gt;SELECT ob.name as ParentProc, bo.name as ChildProc, bo.type as ChildType&lt;br /&gt;    INTO #procdepends&lt;br /&gt;    FROM sysdepends dp&lt;br /&gt;    JOIN sysobjects ob       ON ob.id = dp.id&lt;br /&gt;    JOIN sysobjects bo       ON bo.id = dp.depid&lt;br /&gt;    WHERE ob.type = 'P'     AND bo.type = 'P'&lt;br /&gt; &lt;br /&gt;    INSERT INTO #TT&lt;br /&gt;    select pd1.ParentProc as Root, isnull(pd1.ChildProc,'') as Level1,&lt;br /&gt;           isnull(pd2.ChildProc,'') as Level2,&lt;br /&gt;           isnull(pd3.ChildProc,'') as Level3, isnull(pd4.ChildProc,'') as Level4,&lt;br /&gt;           isnull(pd5.ChildProc,'') as Level5&lt;br /&gt;      from #procdepends pd1&lt;br /&gt;      left outer join #procdepends pd2&lt;br /&gt;        on pd2.ParentProc = pd1.ChildProc&lt;br /&gt;      left outer join #procdepends pd3&lt;br /&gt;        on pd3.ParentProc = pd2.ChildProc&lt;br /&gt;      left outer join #procdepends pd4&lt;br /&gt;        on pd4.ParentProc = pd3.ChildProc&lt;br /&gt;      left outer join #procdepends pd5&lt;br /&gt;        on pd5.ParentProc = pd4.ChildProc&lt;br /&gt;      left outer join #procdepends pd6&lt;br /&gt;        on pd6.ParentProc = pd5.ChildProc&lt;br /&gt;     where pd1.ParentProc not in (select ChildProc from #procdepends)&lt;br /&gt;     order by pd1.ParentProc, pd1.ChildProc,&lt;br /&gt;              pd2.ChildProc, pd3.ChildProc,&lt;br /&gt;              pd4.ChildProc, pd5.ChildProc,&lt;br /&gt;              pd6.ChildProc&lt;br /&gt; &lt;br /&gt;SELECT CASE WHEN A.ROOT = B.ROOT THEN '' ELSE A.ROOT END AS ROOT,&lt;br /&gt;       CASE WHEN A.LEVEL1 = B.LEVEL1 THEN '' ELSE A.LEVEL1 END AS LEVEL1,&lt;br /&gt;       ............ the rest of your levels the same way....&lt;br /&gt;  FROM #TT A -- Current record&lt;br /&gt;  LEFT OUTER JOIN #TT B -- Prior record&lt;br /&gt;    ON A.IDENT = B.IDENT + 1&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2755553258718673646?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2755553258718673646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2755553258718673646&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2755553258718673646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2755553258718673646'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/list-of-all-tables-in-sybase.html' title='List of all Tables in Sybase'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2433740553424272842</id><published>2009-04-08T08:54:00.001+03:00</published><updated>2009-04-08T08:59:16.529+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Table Counts on SQL Server</title><content type='html'>DECLARE @SQL nvarchar(2000),&lt;br /&gt;      @TableName sysname,&lt;br /&gt;      @TableCount integer&lt;br /&gt;&lt;br /&gt;Declare @TableCounts table(TableName sysname, TableCount integer)&lt;br /&gt;&lt;br /&gt;SET NOCOUNT ON&lt;br /&gt;&lt;br /&gt;DECLARE TableCursor CURSOR FOR &lt;br /&gt;SELECT name from sysobjects WHERE xtype = 'U' ORDER BY 1&lt;br /&gt;&lt;br /&gt;OPEN TableCursor&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM TableCursor &lt;br /&gt;INTO @TableName&lt;br /&gt;&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;      Set @SQL = N'SELECT @TableCountOut = COUNT(*) FROM [' + @TableName + ']'&lt;br /&gt;           exec sp_executesql @SQL, N'@TableCountOut integer output', @TableCount output&lt;br /&gt;      Insert @TableCounts (TableName, TableCount) Values (@TableName, @TableCount)&lt;br /&gt;     FETCH NEXT FROM TableCursor &lt;br /&gt;     INTO @TableName&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE TableCursor&lt;br /&gt;DEALLOCATE TableCursor&lt;br /&gt;&lt;br /&gt;Select * From @TableCounts&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/Sdw9KDL_w0I/AAAAAAAAAZs/TM656Vu4zzM/s1600-h/TableCounts.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 229px; height: 251px;" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/Sdw9KDL_w0I/AAAAAAAAAZs/TM656Vu4zzM/s320/TableCounts.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5322196102508692290" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2433740553424272842?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2433740553424272842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2433740553424272842&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2433740553424272842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2433740553424272842'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/table-counts-on-sql-server.html' title='Table Counts on SQL Server'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/Sdw9KDL_w0I/AAAAAAAAAZs/TM656Vu4zzM/s72-c/TableCounts.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8795065700917688162</id><published>2009-04-08T08:52:00.000+03:00</published><updated>2009-04-08T08:54:18.089+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Can I find past queries from the sysobjects table?</title><content type='html'>&lt;strong&gt;Questions:&lt;/strong&gt;&lt;br /&gt;  Is there any way to look in logs, or to set up logs, that will track historical queries into the sysobjects table?  The intruders seem to always be going after this table first to find our schema - is there any way to tell when a query was directed against that table?&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolutions:&lt;/strong&gt;&lt;br /&gt;Profiler would work for future statements only...but it would work great for them.  But... you're not going to be able to get at the past select statements&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8795065700917688162?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8795065700917688162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8795065700917688162&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8795065700917688162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8795065700917688162'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/can-i-find-past-queries-from-sysobjects.html' title='Can I find past queries from the sysobjects table?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6816636298403583399</id><published>2009-04-08T08:49:00.001+03:00</published><updated>2009-04-08T08:52:35.425+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Do not run stored procedure if file does exist using sysobjects</title><content type='html'>if not exists (SELECT * FROM Warehouse..sysobjects WHERE name = 'sales' and convert(varchar, crdate, 102) = CONVERT(varchar, GETDATE(), 102)) goto ExitHere&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6816636298403583399?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6816636298403583399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6816636298403583399&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6816636298403583399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6816636298403583399'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/do-not-run-stored-procedure-if-file.html' title='Do not run stored procedure if file does exist using sysobjects'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4797464729991436501</id><published>2009-04-08T08:36:00.000+03:00</published><updated>2009-04-08T08:37:50.614+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><title type='text'>Sysobjects equivalent in PostgreSQL?</title><content type='html'>Foreign keys can be queried like this:&lt;br /&gt;&lt;br /&gt;select t.constraint_name, t.table_name, t.constraint_type,&lt;br /&gt;    c.table_name, c.column_name&lt;br /&gt;from information_schema.table_constraints t,&lt;br /&gt;    information_schema.constraint_column_usage c&lt;br /&gt;where t.constraint_name = c.constraint_name&lt;br /&gt;    and t.constraint_type = 'FOREIGN KEY'&lt;br /&gt;    and c.table_name = 'mytable';&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4797464729991436501?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4797464729991436501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4797464729991436501&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4797464729991436501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4797464729991436501'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/sysobjects-equivalent-in-postgresql.html' title='Sysobjects equivalent in PostgreSQL?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2379378508520803877</id><published>2009-04-08T08:31:00.002+03:00</published><updated>2009-04-08T08:41:09.671+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>DB Status in SQL Server : Indicates the number of records of all databases objects. (Stored procedure, User Table, Indexes)</title><content type='html'>DECLARE @db_name AS varchar(100)&lt;br /&gt;DECLARE @sql AS nvarchar(1000)&lt;br /&gt;DROP TABLE #DB_Stats&lt;br /&gt;CREATE TABLE #DB_Stats (&lt;br /&gt; dbname varchar(100),&lt;br /&gt; Description varchar(100),&lt;br /&gt; Total_count int)&lt;br /&gt;&lt;br /&gt;DECLARE cur_DB_Names CURSOR FOR&lt;br /&gt;      SELECT name FROM master..sysdatabases&lt;br /&gt;&lt;br /&gt;open cur_DB_Names&lt;br /&gt;&lt;br /&gt;Fetch next from cur_DB_Names into @DB_name&lt;br /&gt;&lt;br /&gt;WHILE @@fetch_status =0&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;      SET @sql= 'insert into #DB_Stats(dbname, description, total_count) select '''+@DB_name + ''',''User_table'', count(*) from [' + @DB_name + ']..sysobjects where xtype = ''U'''&lt;br /&gt;      exec sp_executesql @sql&lt;br /&gt;      SET @sql= 'insert into #DB_Stats(dbname, description, total_count) select '''+@DB_name + ''',''indexes'', count(i.name) from [' + @DB_name + ']..sysobjects n  join [' + @DB_name + ']..sysindexes i on (n.id = i.id)      where n.xtype = ''U'''&lt;br /&gt;      exec sp_executesql  @sql&lt;br /&gt;      SET @sql= 'insert into #DB_Stats(dbname, description, total_count) select '''+@DB_name + ''' ,''V'',count(*) from [' + @DB_name + ']..sysobjects where xtype = ''V'''&lt;br /&gt;      exec sp_executesql  @sql&lt;br /&gt;      SET @sql= 'insert into #DB_Stats(dbname, description, total_count) select '''+@DB_name + ''' ,''P'',count(*) from [' + @DB_name + ']..sysobjects where xtype = ''P'''&lt;br /&gt;      exec sp_executesql  @sql&lt;br /&gt;      SET @sql= 'insert into #DB_Stats(dbname, description, total_count) select '''+@DB_name + ''' ,''DTS'',COUNT(distinct cast(id as varchar(128))) from [msdb]..sysdtspackages'&lt;br /&gt;      exec sp_executesql  @sql&lt;br /&gt;      Fetch next from cur_DB_Names into @DB_name&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;CLOSE cur_DB_Names&lt;br /&gt;deallocate cur_DB_Names&lt;br /&gt;&lt;br /&gt;SELECT * FROM #db_stats&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_f9DHGDBJO6c/Sdw3yeUfqWI/AAAAAAAAAZk/rcMM5HLLGFk/s1600-h/ListAllSysObjects.GIF"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 241px;" src="http://3.bp.blogspot.com/_f9DHGDBJO6c/Sdw3yeUfqWI/AAAAAAAAAZk/rcMM5HLLGFk/s320/ListAllSysObjects.GIF" border="0" alt=""id="BLOGGER_PHOTO_ID_5322190199917095266" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2379378508520803877?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2379378508520803877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2379378508520803877&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2379378508520803877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2379378508520803877'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/db-status-in-sql-server-indicates.html' title='DB Status in SQL Server : Indicates the number of records of all databases objects. (Stored procedure, User Table, Indexes)'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_f9DHGDBJO6c/Sdw3yeUfqWI/AAAAAAAAAZk/rcMM5HLLGFk/s72-c/ListAllSysObjects.GIF' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2063977557702396773</id><published>2009-04-07T17:00:00.002+03:00</published><updated>2009-04-10T09:04:06.590+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>String Format for Double [C#]</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:130%;"&gt;String Format for Double [C#]&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;The following examples show how to format float numbers to string in C#. You can use static method &lt;a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx"&gt;String.Format&lt;/a&gt; or instance methods &lt;a href="http://msdn2.microsoft.com/en-us/library/kfsatb94.aspx"&gt;double.ToString&lt;/a&gt; and &lt;a href="http://msdn2.microsoft.com/en-us/library/f71z6k0c.aspx"&gt;float.ToString&lt;/a&gt;.&lt;br /&gt;Digits after decimal point&lt;br /&gt;This example formats double to string with fixed number of decimal places. For two decimal places use pattern „0.00“. If a float number has less decimal places, the rest digits on the right will be zeroes. If it has more decimal places, the number will be rounded.&lt;br /&gt;&lt;br /&gt;// just two decimal places&lt;br /&gt;String.Format("{0:0.00}", 123.4567); // "123.46"&lt;br /&gt;String.Format("{0:0.00}", 123.4); // "123.40"&lt;br /&gt;String.Format("{0:0.00}", 123.0); // "123.00"&lt;br /&gt;&lt;br /&gt;Next example formats double to string with floating number of decimal places. E.g. for maximal two decimal places use pattern „0.##“.&lt;br /&gt;&lt;br /&gt;// max. two decimal places&lt;br /&gt;String.Format("{0:0.##}", 123.4567); // "123.46"&lt;br /&gt;String.Format("{0:0.##}", 123.4); // "123.4"&lt;br /&gt;String.Format("{0:0.##}", 123.0); // "123"&lt;br /&gt;&lt;br /&gt;Digits before decimal point&lt;br /&gt;If you want a float number to have any minimal number of digits before decimal point use N-times zero before decimal point. E.g. pattern „00.0“ formats a float number to string with at least two digits before decimal point and one digit after that.&lt;br /&gt;&lt;br /&gt;// at least two digits before decimal point&lt;br /&gt;String.Format("{0:00.0}", 123.4567); // "123.5"&lt;br /&gt;String.Format("{0:00.0}", 23.4567); // "23.5"&lt;br /&gt;String.Format("{0:00.0}", 3.4567); // "03.5"&lt;br /&gt;String.Format("{0:00.0}", -3.4567); // "-03.5"&lt;br /&gt;&lt;br /&gt;Thousands separator&lt;br /&gt;To format double to string with use of thousands separator use zero and comma separator before an usual float formatting pattern, e.g. pattern „0,0.0“ formats the number to use thousands separators and to have one decimal place.&lt;br /&gt;&lt;br /&gt;String.Format("{0:0,0.0}", 12345.67); // "12,345.7"&lt;br /&gt;String.Format("{0:0,0}", 12345.67); // "12,346"&lt;br /&gt;&lt;br /&gt;Zero&lt;br /&gt;Float numbers between zero and one can be formatted in two ways, with or without leading zero before decimal point. To format number without a leading zero use # before point. For example „#.0“ formats number to have one decimal place and zero to N digits before decimal point (e.g. „.5“ or „123.5“).&lt;br /&gt;Following code shows how can be formatted a zero (of double type).&lt;br /&gt;&lt;br /&gt;String.Format("{0:0.0}", 0.0); // "0.0"&lt;br /&gt;String.Format("{0:0.#}", 0.0); // "0"&lt;br /&gt;String.Format("{0:#.0}", 0.0); // ".0"&lt;br /&gt;String.Format("{0:#.#}", 0.0); // ""&lt;br /&gt;&lt;br /&gt;Align numbers with spaces&lt;br /&gt;To align float number to the right use comma „,“ option before the colon. Type comma followed by a number of spaces, e.g. „0,10:0.0“ (this can be used only in &lt;a href="http://msdn2.microsoft.com/en-us/library/system.string.format.aspx"&gt;String.Format&lt;/a&gt; method, not in &lt;a href="http://msdn2.microsoft.com/en-us/library/kfsatb94.aspx"&gt;double.ToString&lt;/a&gt; method). To align numbers to the left use negative number of spaces.&lt;br /&gt;&lt;br /&gt;String.Format("{0,10:0.0}", 123.4567); // " 123.5"&lt;br /&gt;String.Format("{0,-10:0.0}", 123.4567); // "123.5 "&lt;br /&gt;String.Format("{0,10:0.0}", -123.4567); // " -123.5"&lt;br /&gt;String.Format("{0,-10:0.0}", -123.4567); // "-123.5 "&lt;br /&gt;&lt;br /&gt;Custom formatting for negative numbers and zero&lt;br /&gt;If you need to use custom format for negative float numbers or zero, use semicolon separator „;“ to split pattern to three sections. The first section formats positive numbers, the second section formats negative numbers and the third section formats zero. If you omit the last section, zero will be formatted using the first section.&lt;br /&gt;&lt;br /&gt;String.Format("{0:0.00;minus 0.00;zero}", 123.4567); // "123.46"&lt;br /&gt;String.Format("{0:0.00;minus 0.00;zero}", -123.4567); // "minus 123.46"&lt;br /&gt;String.Format("{0:0.00;minus 0.00;zero}", 0.0); // "zero"&lt;br /&gt;&lt;br /&gt;Some funny examples&lt;br /&gt;As you could notice in the previous example, you can put any text into formatting pattern, e.g. before an usual pattern „my text 0.0“. You can even put any text between the zeroes, e.g. „0aaa.bbb0“.&lt;br /&gt;&lt;br /&gt;String.Format("{0:my number is 0.0}", 12.3); // "my number is 12.3"&lt;br /&gt;String.Format("{0:0aaa.bbb0}", 12.3); // "12aaa.bbb3"&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2063977557702396773?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2063977557702396773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2063977557702396773&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2063977557702396773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2063977557702396773'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/02/string-format-for-double-c.html' title='String Format for Double [C#]'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2316022604755504904</id><published>2009-04-07T13:12:00.000+03:00</published><updated>2009-04-07T13:13:15.876+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-06502: PL/SQL: numeric or value error string</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; An arithmetic, numeric, string, conversion, or constraint error occurred. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2).&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Change the data, how it is manipulated, or how it is declared so that values do not violate constraints.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2316022604755504904?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2316022604755504904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2316022604755504904&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2316022604755504904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2316022604755504904'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-06502-plsql-numeric-or-value-error.html' title='ORA-06502: PL/SQL: numeric or value error string'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1293265756487898335</id><published>2009-04-07T13:11:00.000+03:00</published><updated>2009-04-07T13:12:20.971+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-04932: increment or adjust of sequence number failed</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; A call to the SSN failed to increment the sequence number.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Verify that the MC hardware is functioning properly. If it is not, contact Digital"s customer support organization. If it is, contact Oracle support.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1293265756487898335?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1293265756487898335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1293265756487898335&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1293265756487898335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1293265756487898335'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-04932-increment-or-adjust-of.html' title='ORA-04932: increment or adjust of sequence number failed'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-8961484778933847940</id><published>2009-04-07T13:10:00.000+03:00</published><updated>2009-04-07T13:11:25.074+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-04931: unable to set initial sequence number value</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; A call to the SSN failed to set the sequence number to its initial value, possibly caused by an MC hardware problem.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Action: &lt;/strong&gt;Verify that the MC hardware is functioning properly. If it is not, contact Digital"s customer support organization. If it is, contact Oracle support.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-8961484778933847940?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/8961484778933847940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=8961484778933847940&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8961484778933847940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/8961484778933847940'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-04931-unable-to-set-initial.html' title='ORA-04931: unable to set initial sequence number value'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6692713391449307099</id><published>2009-04-07T13:09:00.000+03:00</published><updated>2009-04-07T13:10:19.516+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-04930: open sequence number failed or initial state is valid</title><content type='html'>&lt;strong&gt;Cause:&lt;/strong&gt; Either Shared Sequence Number OS component was not installed properly, or an MC hardware failure may have occurred or a previous instance was not shut down properly.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Action: &lt;/strong&gt;Verify that there are no background or foreground Oracle processes from a previous instance on this node using the OS command ps -ef|grep &lt;instance_name&gt;. Verify that there are no shared memory segments belonging to the user which owns the Oracle installation by isuing the ipcs -b OS command. If there are shared memory segments or processes still on the system, use svrmgrl to shutdown the instance with the abort option. If the instance is not up, verify that the cluster software and/or the hardware is installed and working. Log in as superuser and issue the cnxshow command. Are all of the nodes in the cluster listed? Are they members of the cluster? Is the communications between nodes okay? If the answer to any of these questions is false, contact Digital"s customer support organization.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6692713391449307099?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6692713391449307099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6692713391449307099&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6692713391449307099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6692713391449307099'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-04930-open-sequence-number-failed.html' title='ORA-04930: open sequence number failed or initial state is valid'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6700315142706408020</id><published>2009-04-07T08:08:00.000+03:00</published><updated>2009-04-07T17:41:21.835+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Disable all jobs on a SQL Server</title><content type='html'>Have you ever needed to quickly disable all jobs on a SQL Server? If you have a lot of jobs to disable, then this stored procedure will help you out. We move our systems to our disaster recovery site twice per year for disaster recovery testing. As part of this process, we need to disable all jobs on our SQL Servers. It doesn't take a whole lot of time to do this inside Enterprise Manager, but when your goal is to complete your work quickly so that the customer impact is minimal, you want to save all of the seconds that you can.&lt;br /&gt;&lt;br /&gt;CREATE PROC isp_Disable Jobs&lt;br /&gt;AS&lt;br /&gt;SET NOCOUNT ON&lt;br /&gt;CREATE TABLE #Job_Names&lt;br /&gt;(&lt;br /&gt;Job_Name SYSNAME NOT NULL&lt;br /&gt;)&lt;br /&gt;INSERT INTO #Job_Names&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;SELECT name&lt;br /&gt;FROM msdb.dbo.sysjobs&lt;br /&gt;ORDER BY name&lt;br /&gt;DECLARE @job_name SYSNAME&lt;br /&gt;DECLARE @job_id UNIQUEIDENTIFIER&lt;br /&gt;DECLARE disable_jobs CURSOR FOR&lt;br /&gt;SELECT Job_Name&lt;br /&gt;FROM #Job_Names&lt;br /&gt;SET @job_id = NULL&lt;br /&gt;OPEN disable_jobs&lt;br /&gt;FETCH NEXT FROM disable_jobs INTO @job_name&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;EXEC msdb.dbo.sp_verify_job_identifiers '@job_name', '@job_id', @job_name OUTPUT, @job_id OUTPUT&lt;br /&gt;EXEC msdb.dbo.sp_update_job @job_id, @enabled = 0&lt;br /&gt;SET @job_id = NULL&lt;br /&gt;FETCH NEXT FROM disable_jobs INTO @job_name&lt;br /&gt;END&lt;br /&gt;CLOSE disable_jobs&lt;br /&gt;DEALLOCATE disable_jobs&lt;br /&gt;DROP TABLE #Job_Names&lt;br /&gt;RETURN&lt;br /&gt;&lt;br /&gt;If you want to quickly enable all jobs, just change @enabled = 0 to @enabled = 1. Change the stored proc name as well so that it makes sense.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6700315142706408020?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6700315142706408020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6700315142706408020&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6700315142706408020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6700315142706408020'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/03/disable-all-jobs-on-sql-server.html' title='Disable all jobs on a SQL Server'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5310390589484173000</id><published>2009-04-06T17:22:00.002+03:00</published><updated>2009-04-06T17:27:33.149+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How can I list a stored procedures in SQL Server?</title><content type='html'>use [AustriaUnity]&lt;br /&gt;GO&lt;br /&gt;select [Object_id],[name],[type_desc] from sys.objects where type='P' and [name] LIKE '%%'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/SdoRSEy9WnI/AAAAAAAAAZU/RxQCNtXuR_g/s1600-h/listAllSP.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5321584911914457714" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 94px" alt="" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/SdoRSEy9WnI/AAAAAAAAAZU/RxQCNtXuR_g/s320/listAllSP.JPG" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5310390589484173000?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5310390589484173000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5310390589484173000&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5310390589484173000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5310390589484173000'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-can-i-list-stored-procedures-in-sql.html' title='How can I list a stored procedures in SQL Server?'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/SdoRSEy9WnI/AAAAAAAAAZU/RxQCNtXuR_g/s72-c/listAllSP.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5129388505497483693</id><published>2009-04-06T17:10:00.001+03:00</published><updated>2009-04-06T17:10:56.242+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>How to get ID of element that triggered an event with class name</title><content type='html'>function overfade(evnt) &lt;br /&gt;{&lt;br /&gt;   var obj = Event.element(evnt);   &lt;br /&gt;   alert(obj.id);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5129388505497483693?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5129388505497483693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5129388505497483693&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5129388505497483693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5129388505497483693'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-get-id-of-element-that-triggered.html' title='How to get ID of element that triggered an event with class name'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4288276880860716510</id><published>2009-04-06T17:00:00.002+03:00</published><updated>2009-04-06T17:07:14.682+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Script'/><title type='text'>Return characters only on key press event in JavaScript</title><content type='html'>&lt;strong&gt;Question:&lt;/strong&gt;&lt;br /&gt;How can I return only character to be entered A-Z a-z on key press event . Restrict numbers and other key using javascript&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;&lt; script&gt;&lt;br /&gt;function char(e) {&lt;br /&gt;  e = (e)?e:window.event;&lt;br /&gt;  key = String.fromCharCode(e.keyCode);&lt;br /&gt;  if (key.match(/[a-zA-Z]/)) return true;&lt;br /&gt;  e.returnValue=null&lt;br /&gt;  return false&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt; /script&gt;&lt;br /&gt;&lt; input onkeydown="return char(event)"&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4288276880860716510?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4288276880860716510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4288276880860716510&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4288276880860716510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4288276880860716510'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/return-characters-only-on-key-press.html' title='Return characters only on key press event in JavaScript'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-5248002812583135850</id><published>2009-04-06T15:16:00.001+03:00</published><updated>2009-04-06T15:20:10.089+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How to Convert Unix Epoch to Datetime in MS SQL</title><content type='html'>&lt;div&gt;This article will demonstrate an easy way to convert an Integer Field that stores an UNIX Epoch number into a Human readable DATETIME value. This is very important when dealing with data imported from UNIX systems. This article will use a temp table to effectly demonstrate the use of the query funtion.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;a href="http://2.bp.blogspot.com/_f9DHGDBJO6c/SdnzZnPEi7I/AAAAAAAAAZM/q3_yy1aE1Lg/s1600-h/SQLEPOCHCONVERT_Full.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5321552056069426098" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 216px" alt="" src="http://2.bp.blogspot.com/_f9DHGDBJO6c/SdnzZnPEi7I/AAAAAAAAAZM/q3_yy1aE1Lg/s320/SQLEPOCHCONVERT_Full.jpg" border="0" /&gt;&lt;/a&gt;&lt;/strong&gt; Example using MS SQL Server Management Studio Open a SQL Query window Using MS SQL Server Management Studio or your preferred SQL Query Tool to a database which you have access.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt; &lt;/div&gt;&lt;div&gt;&lt;strong&gt;2.&lt;/strong&gt; Execute the following to setup the table and data required for the deminstration;&lt;br /&gt;&lt;br /&gt;* Create a TEMP Table in MS SQL by running the following;&lt;br /&gt;* CREATE TABLE #tmp_epoch_test (unix_epoch_time INT);&lt;br /&gt;* Insert a known value to test retreive later;&lt;br /&gt;* INSERT INTO #tmp_epoch_test VALUES (1232648493);&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Execute the following to return the DATETIME, human readable format;&lt;br /&gt;&lt;br /&gt;* SELECT Dateadd(ss, unix_epoch_time,'19700101')&lt;br /&gt;* FROM #tmp_epoch_test;&lt;br /&gt;&lt;br /&gt;Returned Results should be: "2009-01-22 18:21:33.000"&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; Execute the following to remove the TEMP TABLE;&lt;br /&gt;&lt;br /&gt;DROP TABLE #tmp_epoch_test&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-5248002812583135850?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/5248002812583135850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=5248002812583135850&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5248002812583135850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/5248002812583135850'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-convert-unix-epoch-to-datetime.html' title='How to Convert Unix Epoch to Datetime in MS SQL'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_f9DHGDBJO6c/SdnzZnPEi7I/AAAAAAAAAZM/q3_yy1aE1Lg/s72-c/SQLEPOCHCONVERT_Full.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-2458464504632194207</id><published>2009-04-06T15:14:00.001+03:00</published><updated>2009-04-06T15:16:30.588+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How to enable and disable advance options and Ole Automation Procedures in SQL Server 2005</title><content type='html'>The system stored procedures in SQL Server are very useful. You can find a system stored procedure to do almost any task. However, in order to use these stored procedures, you need to enable Ole Automation Procedures.&lt;br /&gt;&lt;br /&gt;In SQL Server 2005, the option is disabled by default.&lt;br /&gt;&lt;br /&gt;You might recieve an error similar to the following&lt;br /&gt;&lt;br /&gt;SQL Server blocked access to procedure 'sys.sp_OACreate of component 'Ole Automation Procedures&lt;br /&gt;&lt;br /&gt;if you are trying to use the Ole Automation Procedures and the option is turned off.&lt;br /&gt;&lt;br /&gt;You will need to enable advance options before enabling Ole Automation Procedures.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Use the following code to show the current status of advance option and Ole Automation procedure status.&lt;br /&gt;&lt;br /&gt;-- Show Advance Options, 0 = disabled, 1 = enabled&lt;br /&gt;EXEC sp_configure 'show advanced options';&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Show Ole Automation Procedures, 0 = disabled, 1 = enabled&lt;br /&gt;EXEC sp_configure 'Ole Automation Procedures';&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Use the following code to enable the advance option and Ole Automation Procedures.&lt;br /&gt;&lt;br /&gt;-- Enable the Advance options if they are not already turned on&lt;br /&gt;sp_configure 'show advanced options', 1;&lt;br /&gt;GO&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Enable the Ole Automation Procedures&lt;br /&gt;sp_configure 'Ole Automation Procedures', 1;&lt;br /&gt;GO&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Use the following code to disable the advance option and Ole Automation Procedures.&lt;br /&gt;&lt;br /&gt;-- Disable the Advance options&lt;br /&gt;sp_configure 'show advanced options', 0;&lt;br /&gt;GO&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;-- Disable the Ole Automation Procedures&lt;br /&gt;sp_configure 'Ole Automation Procedures', 0;&lt;br /&gt;GO&lt;br /&gt;RECONFIGURE;&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-2458464504632194207?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/2458464504632194207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=2458464504632194207&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2458464504632194207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/2458464504632194207'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-enable-and-disable-advance.html' title='How to enable and disable advance options and Ole Automation Procedures in SQL Server 2005'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-540808064443677209</id><published>2009-04-06T15:08:00.002+03:00</published><updated>2009-04-06T15:13:06.295+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>How to find the disk size of a table in Microsoft SQL Server</title><content type='html'>1.Connect to the SQL server instance. Depending on what I'm doing, I usually use SQL Management Studio, or my own custom script / application.&lt;br /&gt;&lt;br /&gt;2.Execute "sp_spaceused". As you can imagine there are a few commands that will allow you to figure out your table size. I prefer "sp_spaceused".&lt;br /&gt;&lt;br /&gt;usage: "sp_spaceused 'Name of your table'"&lt;br /&gt;example: "sp_spaceused 'user_accounts'"&lt;br /&gt;&lt;br /&gt;Yes, the table name is treated like a varchar / string for this command. Something else to keep in mind is that this particular procedure looks at the [sysindexes] system table. There are instances where this table can become a little out of sync; like right after an index is dropped. To compensate for this, there is an optional parameter that you can add to force the recalculation before execution. Just simply add a "true" to the end.&lt;br /&gt;&lt;br /&gt;example: "sp_spaceused 'user_accounts', true"&lt;br /&gt;&lt;br /&gt;For reference, the true simply forces the system to recalculate by executing "dbcc updateusage (0)" for all the tables, or "dbcc updateusage ('Name of your table')" for a specific table.&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://4.bp.blogspot.com/_f9DHGDBJO6c/SdnxljwWdrI/AAAAAAAAAZE/kmS2OyqOefI/s1600-h/QueryResults_Full.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5321550062270445234" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 134px" alt="" src="http://4.bp.blogspot.com/_f9DHGDBJO6c/SdnxljwWdrI/AAAAAAAAAZE/kmS2OyqOefI/s320/QueryResults_Full.jpg" border="0" /&gt;&lt;/a&gt;Analyze the results. The data returned includes the "name", "rows", "reserved", "data", "index_size", and "unused".&lt;br /&gt;&lt;br /&gt;- "name", the name of the table.&lt;br /&gt;- "rows", the number of records in the table.&lt;br /&gt;- "reserved", the amount of space currently allocated for the table.&lt;br /&gt;- "data", the current space used by the table's data.&lt;br /&gt;- "index_size", the current size of the table's indexes.&lt;br /&gt;- "unused", the amount of unused space reserved for the table.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-540808064443677209?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/540808064443677209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=540808064443677209&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/540808064443677209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/540808064443677209'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/how-to-find-disk-size-of-table-in.html' title='How to find the disk size of a table in Microsoft SQL Server'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_f9DHGDBJO6c/SdnxljwWdrI/AAAAAAAAAZE/kmS2OyqOefI/s72-c/QueryResults_Full.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3284358000670742977</id><published>2009-04-06T09:43:00.001+03:00</published><updated>2009-04-06T09:46:45.029+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>Unity : Satış fiyat kartlarının bitiş tarihini değiştirmek</title><content type='html'>UPDATE LG_208_PRCLIST SET ENDDATE='20101231' WHERE VALUE='20081231'&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3284358000670742977?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3284358000670742977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3284358000670742977&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3284358000670742977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3284358000670742977'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/unity-sats-fiyat-kartlarnn-bitis.html' title='Unity : Satış fiyat kartlarının bitiş tarihini değiştirmek'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-7192215935035807176</id><published>2009-04-06T09:41:00.001+03:00</published><updated>2009-04-06T09:43:56.818+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unity'/><title type='text'>Unity : Faturası olmayan irsaliyeden F işaretini kaldırmak</title><content type='html'>Faturası olmayan irsaliyeden F işaretini kaldırmak için aşağıdaki query'ler kullanabilirsiniz.&lt;br /&gt;&lt;br /&gt;1) Seçmek için;&lt;br /&gt;  &lt;em&gt;  SELECT * FROM LG_208_01_STFICHE WHERE BILLED=1 AND INVOICEREF  NOT IN  (SELECT LOGICALREF FROM LG_208_01_INVOICE)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;2) Düzeltmek için;&lt;br /&gt;    &lt;em&gt;UPDATE LG_208_01_STFICHE SET BILLED=0 WHERE BILLED=1 AND INVOICEREF NOT IN  (SELECT LOGICALREF FROM LG_0208_01_INVOICE) &lt;/em&gt;&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-7192215935035807176?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/7192215935035807176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=7192215935035807176&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7192215935035807176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/7192215935035807176'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/unity-faturas-olmayan-irsaliyeden-f.html' title='Unity : Faturası olmayan irsaliyeden F işaretini kaldırmak'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-6913666435198672727</id><published>2009-04-06T08:48:00.000+03:00</published><updated>2009-04-06T08:49:05.597+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MS-SQL'/><title type='text'>Named Pipes Provider, error: 40 - Could not open a connection to SQL Server</title><content type='html'>Check these ;&lt;br /&gt;&lt;br /&gt; a) Typo in instance name or wrong instance name. The instance name is not the one you are targeting. &lt;br /&gt; b) Target SQL Server is not running&lt;br /&gt; c) Named Pipe is not enabled on the server. In this case, the SQL server is not listenning on the specific pipe name.&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-6913666435198672727?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/6913666435198672727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=6913666435198672727&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6913666435198672727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/6913666435198672727'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/named-pipes-provider-error-40-could-not.html' title='Named Pipes Provider, error: 40 - Could not open a connection to SQL Server'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-3243479580583116113</id><published>2009-04-06T08:44:00.000+03:00</published><updated>2009-04-06T08:46:11.212+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA - 12514 :TNS the listener could not solve the SERVICE_NAME appearing in the descriptor of connection</title><content type='html'>If the SERVICE_NAME parameter is used, the methods below will assist you in &lt;br /&gt;successfully implementing it in the TNSNAMES.ORA file: &lt;br /&gt; &lt;br /&gt;1. Use the GLOBAL_DBNAME parameter in the LISTENER.ORA for each SID that you &lt;br /&gt;   wish to identify as a separate service. Use the value of this parameter as &lt;br /&gt;   the value of the SERVICE_NAME parameter. Of course, any changes made to the &lt;br /&gt;   LISTENER.ORA to accomplish this will need to be made active by stopping and  &lt;br /&gt;   then restarting the listener process. &lt;br /&gt; &lt;br /&gt;2. Use the values of the parameters existing in the INIT.ORA, namely  &lt;br /&gt;   SERVICE_NAMES and DB_DOMAIN to ascertain the value of the SERVICE_NAME that  &lt;br /&gt;   should be used in the TNSNAMES.ORA. The valid construction of this value is &lt;br /&gt;   &lt;SERVICE_NAMES&gt;.&lt;DB_DOMAIN&gt; with the dot "." separating the two INIT.ORA  &lt;br /&gt;   values.  If your SERVICE_NAMES=BIKES and your DB_DOMAIN=COM, then your  &lt;br /&gt;   SERVICE_NAME=SONMEZ.COM &lt;br /&gt; &lt;br /&gt;3. If you do not have a DB_DOMAIN parameter set in your INIT.ORA, or a  &lt;br /&gt;   GLOBAL_DBNAME in the LISTENER.ORA, then you can simply use the SERVICE_NAMES  &lt;br /&gt;   from the INIT.ORA in your TNSNAMES.ORA for parameter SERVICE_NAME. &lt;br /&gt;         EXAMPLE:   &lt;br /&gt;                  INIT.ORA contains:   &lt;br /&gt;                  service_names = "UNITY" &lt;br /&gt;                  db_domain not set &lt;br /&gt; &lt;br /&gt;        Then Tnsnames.ora entry is: &lt;br /&gt;                    (CONNECT_DATA =(SERVICE_NAME = "UNITY")) &lt;br /&gt; &lt;br /&gt;4.  If you have multiple values specified in the SERVICE_NAMES parameter &lt;br /&gt;    in the init.ora then use one of them &lt;br /&gt;    If SERVICE_NAMES is not set then db_name.db_domain parameters from  &lt;br /&gt;    INIT.ORA file can be used.  &lt;br /&gt;        &lt;br /&gt; 5.  If SERVICE_NAMES and DB_DOMAIN is not set in the init.ora or a  &lt;br /&gt;     GLOBAL_DBNAME in the LISTENER.ORA,then your SERVICE_NAME  &lt;br /&gt;     in Tnsnames.ora file will be DB_NAME&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-3243479580583116113?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/3243479580583116113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=3243479580583116113&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3243479580583116113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/3243479580583116113'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-12514-tns-listener-could-not-solve.html' title='ORA - 12514 :TNS the listener could not solve the SERVICE_NAME appearing in the descriptor of connection'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-4161615195161185968</id><published>2009-04-06T08:41:00.001+03:00</published><updated>2009-04-06T08:43:27.934+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA 27102 - out of memory</title><content type='html'>Problem:&lt;br /&gt;ORA 27102 - out of memory&lt;br /&gt;&lt;br /&gt;Resolution:&lt;br /&gt;It seems you are in Unix/Linux environment. In this case the SWAP partition of your computer should be 3 times the RAM or if the RAM is 1GB the swap can be 2GB.&lt;br /&gt;If you are in Windows you have to provide also TEMP environment variable and ensure enough disk space for swapping.&lt;br /&gt;&lt;br /&gt;Check your physical memory:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;In Windows:&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;go through TASK manager-&gt;performance&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;in UNIX:&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;$ sysdef  grep mem&lt;br /&gt;$sysdef  grep swap&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;in Linux:&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;$ cat /proc/meminfo&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-4161615195161185968?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/4161615195161185968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=4161615195161185968&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4161615195161185968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/4161615195161185968'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora-27102-out-of-memory.html' title='ORA 27102 - out of memory'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2427622159712348650.post-1122326331897134304</id><published>2009-04-06T08:38:00.000+03:00</published><updated>2009-04-06T08:39:37.524+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA:00571 insufficient privileges</title><content type='html'>Start SQL*Plus and then connect with SYSDBA privileges to the database containing the recovery catalog: &lt;br /&gt;% sqlplus "sys/change_on_install as sysdba"&lt;br /&gt;Create a user and schema for the recovery catalog: &lt;br /&gt;SQL&gt; CREATE USER rman IDENTIFIED BY rman&lt;br /&gt;  2  DEFAULT TABLESPACE tools&lt;br /&gt;  3  TEMPORARY TABLESPACE temp&lt;br /&gt;  4  QUOTA UNLIMITED ON tools;&lt;br /&gt;&lt;br /&gt;User created.&lt;br /&gt;Grant the RECOVERY_CATALOG_OWNER role to the schema owner. This role provides the user with privileges to maintain and query the recovery catalog: &lt;br /&gt;SQL&gt; GRANT RECOVERY_CATALOG_OWNER TO rman;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;Grant other desired privileges to teh RMAN user: &lt;br /&gt;SQL&gt; GRANT CONNECT, RESOURCE TO rman;&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;After creating the catalog owner you should now create the catalog itself by using the CREATE CATALOG command within the RMAN interface. This command will create the catalog in the default tablespace of the catalog owner. you will need to connect to the database that will contain the catalog as teh catalog owner as follows: &lt;br /&gt;% rman catalog rman/rman@catdb&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 9.2.0.1.0 - Production&lt;br /&gt;&lt;br /&gt;Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;connected to recovery catalog database&lt;br /&gt;recovery catalog is not installed&lt;br /&gt;Now, run the CREATE CATALOG command to create the catalog. Note that this process can take several minutes to complete. &lt;br /&gt;RMAN&gt; create catalog;&lt;br /&gt;&lt;br /&gt;recovery catalog created&lt;div class="blogger-post-footer"&gt;ASP.NET, C#, Delphi, MS-SQL ,  PostgreSQL , Oracle , Progress , T-SQL , PL/SQL, Unity, Logo Object Designer, Bordro , Tahsilat, Software, Web Service&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2427622159712348650-1122326331897134304?l=serkansonmez.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://serkansonmez.blogspot.com/feeds/1122326331897134304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2427622159712348650&amp;postID=1122326331897134304&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1122326331897134304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2427622159712348650/posts/default/1122326331897134304'/><link rel='alternate' type='text/html' href='http://serkansonmez.blogspot.com/2009/04/ora00571-insufficient-privileges.html' title='ORA:00571 insufficient privileges'/><author><name>Serkan SÖNMEZ</name><uri>http://www.blogger.com/profile/08348905112789935914</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://4.bp.blogspot.com/_f9DHGDBJO6c/ScH8ul8at2I/AAAAAAAAAOo/Iug07lpDtwU/S220/serkanfoto.JPG'/></author><thr:total>0</thr:total></entry></feed>
