Tag: sql server


Sql Server Stored Procedure Browser

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

  • Facebook
  • Twitter
  • StumbleUpon
  • del.icio.us
  • Digg

Comment » | Csharp - C#, Sql, Tools - Programs

Excel ile Sql Server dan Data Çekmek(veri al – import data)

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

import data

Yapılması gerekenleri madde madde yazacak olursak şöyle,

  1. “Data > import external data > import data” komutuna basalım.
  2. Gelen diyalog kutusundan sql server connection.odc dosyasını seçip aça basalım.
    sql server connection

    sql server connection

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

    user - password

    user - password

  4. 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

edit query - refresh

Çektiğiniz data kendini güncellemez bunu ünlem şeklindeki butona basarak biz yapmalıyız.

  • Facebook
  • Twitter
  • StumbleUpon
  • del.icio.us
  • Digg

4 comments » | Excel

Get Table and Column Names From SQL Server

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’

  • Facebook
  • Twitter
  • StumbleUpon
  • del.icio.us
  • Digg

2 comments » | Sql

Back to top