Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum Rss Feed

» Database Journal Home
» Database Articles
» Database Tutorials
MS Access
SQL Scripts & Samples
» Database Forum
» Slideshows
Free Newsletters:

News Via RSS Feed

Rss Feed

Database Journal |DBA Support |SQLCourse |SQLCourse2

Featured Database Articles


Posted Feb 2, 2001

DSNGen - Another Tool For the Toolbox

By Andy Warren

This free utility lets you build multiple DSN's (system, user, or file) quickly. It's not a tool you'll use everyday, but when do use need it, it's a real timesaver. Let's walk through how to use it and how it works.


Step #1 - Connect to Server and Get List of Databases

Here I'm using SQL-DMO to retrieve a list of SQL Servers that are active on your network. See my article More DMO for more information about how this works. Once you select a server, click the 'Get List of Databases'  button to populate the Available Databases list box. This step also uses DMO to retrieve the list of databases. It requires that you be able to establish a trusted connection to the server. I opted not to support SQL logins for  two reasons; one is that I think most DBA's will be using a trusted connection anyway, and two, I'm not big on  entering the sa password into free utilities I've downloaded - bet you aren't either!



Step #2 - Select Databases

Now that you've got your list of databases, you can select the ones for which you need DSN's. You can select multiple databases at once, using shift-click or control-click. The four buttons in the middle let you move either the selected items or all items from one list to the other.




Continue Reading about DSNGen       Go directly to the Download page

MS SQL Archives

Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM