January 6th, 2010 — 6:35am
There is a belief that doing all the database works via stored procedures is good.
I have been in projects that have coded in that belief so they have too many stored procedures.
I don’t agree that It is the best choice…
It that case you need to search in procedures too many times.
It is a very demotivating thing about your project.
And learning curve about the project increases.
I made a simple application to browse stored procedures easily
you can reach it over my github profile.
SpBrowser
Comment » | Csharp - C#, Sql, Tools - Programs
January 3rd, 2009 — 1:35pm
Excel ile sqlserver‘a bağlanıp, satır ve sütun sayısı taşmıyorsa, bilgi çekebilsiniz.

import data
Yapılması gerekenleri madde madde yazacak olursak şöyle,
- “Data > import external data > import data” komutuna basalım.
- Gelen diyalog kutusundan sql server connection.odc dosyasını seçip aça basalım.

sql server connection
- Data connection wizard açılır bu ekranda da bağlanacağınız veritabanı, kullanıcı adı ve şifreyi yazalım.

user - password
- next e basıp tabloyu seçip finish ‘e tıkladığımızda aktif olan sayfaya seçtiğiniz tablodaki data gelir.
Dilerseniz joinli bir sorgu ilede bilgi çekebilirsiniz. Edit query komutuna basarak isteğiniz sorguyu yazıp çekebilirsiniz.

edit query - refresh
Çektiğiniz data kendini güncellemez bunu ünlem şeklindeki butona basarak biz yapmalıyız.
4 comments » | Excel
December 17th, 2008 — 5:33pm
you can get table names from sql server with a simple query
–table names
SELECT * FROM sys.objects WHERE type = ‘U’
–column names
SELECT * FROM sys.columns
WHERE OBJECT_NAME(sys.columns.OBJECT_ID) = ‘tblTableName’
2 comments » | Sql