Index dosyasi yok hatasi

08. Nov 2009 Comments 48 comments

MsSql Server 2005 Express’de veritabanini ilistirme (attach) icin 2 dosyadan ( mdf + ldf )fazlasina ihtiyac duyuyormus. Isteki veritabanini (mdf ve ldf dosyalarini) test icin baska msqql servera eklemek isteyince index dosyalari bulunamadi hatasi verdi. Bende bunun icin asagidaki sekilde ilistirmeyi yaptim. sp_attach_single_file_db @dbname= ‘databasename’, @physname= ‘C:\Users\Blake\Documents\Databases\databasefile.mdf’

Siteye su basmış

07. Nov 2009 Comments 4 comments

Ben askerde iken diye bir seri yazı dizisi yazmayı düşünüyorum. Gördüğünüz gibi ben askerde iken siteye su basmış, tüm bilgiler gitmiş. Kısa zamanda da geri gelmez. Terzi sökük misali bir ara siteyi ayaga kaldırırım. guncelleme: yedeklerinden geri dondum, karakterler sacmalamis.

Social money-ing

13. Nov 2008 Comments 45 comments

After the Internet bubble burst,  most of the Venture Capital firms did their action slowly and turned down their radars until web2.0. Now, they have been spreading all kinds of business.  Finally, i just saw an article here nearly close to what I have thought from the beginning. There will be blood, more blood, more [...]

I like my Privacy

02. Nov 2008 Comments 1 comment

Web2.0 era is nearly coming to end. During that time, i haven’t seen many people who write/speak about the Privacy, especially your privacy. Whatever the cost is, everyone is willing the pay. Nothing good comes for free . Now we are getting profit of it, and we have to sit tight for the the effects [...]

Hagen Tour

05. Oct 2008 Comments 0 comments

open air museum- Hagen

Oracle tablolarinda otomatik id atama

28. Jun 2008 Comments 52 comments

Ms Sql veritabanı üzerinde çalıştıktan sonra Oracle veritabanına geçenlerin – örneÄŸin ben- ilk yadırgadıkları olaylardan biride budur. Ms Sql Server tablolarında numara olan alanlara “auto increment” özelliÄŸi vererek otomatik olarak deÄŸerleri artıyorduk. Oracle veritabanı için otomatik numara alanı artırmak için “sequnce (dizi)” nesnesini/fonksiyonunu kullanırız. Bunun için öncelikle “sequnce” oluÅŸtururuz. CREATE SEQUENCE SEQ_USERS START WITH 0 [...]

Oracle tablolarindan Select Top N

28. Jun 2008 Comments 256 comments

Sql, hala Oracle ve Ms Sql için bile farklılıklar gösteriyor, keşke göstermeseydi. Sql server için select top 10 * from users Oracle server için select * from users where rownum

Veritabanindan rastgele kayit getirmek

06. Jun 2008 Comments 35 comments

Herhangi bir sql tablosundan rastgele (random) kayıt getirmek için çok bir basit yöntem var. select sorgusunun sonuna “order by newid()” eklemek. örnek kod aÅŸağıda SELECT TOP 5 * FROM SOZLER ORDER BY NEWID()

Form girislerinde html karakterleri hatasi

06. Jun 2008 Comments 0 comments

Asp.Net ile yazılmış web projelerinde giriÅŸ kutularında varsayılan olarak HTML kodu girildiÄŸinde uygulamaya hataya düşer. Bunun tek sebebi güvenlik açısındandır. Server Error in ‘/WebSite1′ Application. A potentially dangerous Request.Form value was detected from the client (TextBox1=” “). EÄŸer bir sayfada html kodu girilmesine izin vermek istiyorsanız aÅŸağıdaki validaterequest=”false” kısmını eklemeniz yeterlidir. < %@ page language=”C#” [...]