Skip to Content
author's profile photo Former Member
Former Member

Difference between ODBC and OLE DB

Hello,

I remember from my CR 2008 exams that we only explicitly spoke about ODBC connections. However, it's just as easy to setup an OLE DB connection. In fact, if I use an OLE DB connection on Crystal Reports Server, then no ODBC Data Source needs to be created on the server side. Seems easier to me.

Have I missed something? Why would I use an ODBC connection ever again as OLE DB is just as easy? According to some, OLE DB is faster as well.

Have a nice day,

Val

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 10, 2011 at 04:52 PM

    Hi Val,

    I agree, OLE DB is faster because typically it's the native engine, or it is for Ms SQL Server. ODBC usually require an native client to be installed so if you add ODBC it adds another layer on top of the client. If CR has a natvie driver then use it, if one is not provided then use OLE DB. ODBC for simplicity or if it's the only option.

    ODBC is always used because all of the connection info can be pre-set and for training it's easier. For end users though OLE DB or the native drivers are the preferred methods I recommend.

    Other concerns are the DB being used, some only have ODBC so you have no option.

    Thank you

    Don

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.