Connect to SQL Database using ODBC connection

Connect to SQL Database using ODBC connection 

Prerequisites
  1. Ensure the user has the access privileges.  Check for membership of the right Active Directory Group
  2. Ensure the user has required privileges to configure the tool.  (Some may require local Admin rights)


Step By Step Process

This method is used by the business when typically generating internal analytics through third-party tools (like MS Access)




Screenshot


1. Open ODBC.  If using MS Access this can be done via the External Data ribbon.


2. Select Machine Data Source and New


3. Accept warning re non-Admin privileges

4. Select Next (Note, we are creating a Machine DSN)

5. Select SQL Server



6. Accept next alert

7. Enter details as below:
  • Name: must be exact in order to permit other users (with correct DSN setup) to share database queries
  • Description:  (non-critical)
  • Server: (mandatory field)

8. Accept defaults on the next screen

9. Change the default database if required

10. Accept the defaults on the next screen

11. Select Test Data Source ...

12. Test should be successful.  If not start again (may need IT support to delete the Machine DSN)

13. Select OK to finish.  Now newly created ODBC files should now be available.

Comments

Popular posts from this blog

Calculating Age of the person in T-SQL

How to Troubleshoot Subscription issue in Reporting Services