Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6840473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:50:56+00:00 2026-05-26T23:50:56+00:00

I am new to ODBC and have started reading articles to get aware of

  • 0

I am new to ODBC and have started reading articles to get aware of ODBC.

I have got a requirement to expose database that is currently hosted on SQL Server to be exposed to the users for other applications on ODBC so that other developers can create reports and perform other operations using ODBC.

What I need to do for this, do I need to write an API or just need to expose connection on ODBC driver and it will handle rest of the things?

Primary requirement is to expose database for user so that they can create there own Crystal Reports.

Please suggest some good links for the same.

I am going through following links

http://msdn.microsoft.com/en-us/library/aa299159(v=SQL.80).aspx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:50:56+00:00Added an answer on May 26, 2026 at 11:50 pm

    All you need to do is to configure ODBC connection on client machines. Of course SQL Server must be listening and accepting connections from clients.

    To configure ODBC connection you can use ODBC manager. There is System DSN tab with “Add” button. Then use “SQL Server” or “SQL Server Native Client 10.0” driver and fill fields needed by driver. In your application you can use such DSN, or use ConnectString. Such connect string looks like:

    Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Uid=myUsername;Pwd=myPassword;
    

    More examples at: http://www.connectionstrings.com/sql-server#p3

    I don’t know what language you use, but with Python (I use ActiveState Python with odbc module) you can try if ODBC works as expected with code:

    import odbc
    
    # connect string
    db = odbc.odbc('Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Uid=myUsername;Pwd=myPassword;')
    
    # DSN
    db = odbc.odbc('my_dsn/user/passwd')
    
    c = db.cursor()
    rs = c.execute("SELECT count(*) FROM tmp_table WHERE txt='ala'")
    for txt in c.fetchall():
        print('%s' % (txt[0]))
    

    (of course change table and column name)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mysql query that pulls into excel via an ODBC connection. This
I have a PHP class-- a generic ODBC database interface. While the methods will
I just created a new SQLite database from the command line and I have
I have an ODBC connection to a database of which I need one table
I've got a new 64-bit laptop and have installed STS 64-bit and Java 64-bit.
I have connected sqlserver using ODBC in php. I'm able to connect the database
I have an Access97 database (unfortunately) and I am querying it over ODBC. I
I have an ASP.Net Application that uses a SQL Server database. I am also
I have an Excel 2007 workbook that contains an ODBC data connection (to FoxPro,
When designing a new Crystal Report you have to create a new database connection.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.