Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ODBC vs OLE DB

ODBC vs OLE DB

Scheduled Pinned Locked Moved C / C++ / MFC
databasec++visual-studiocomtools
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LasVegasGuy
    wrote on last edited by
    #1

    Hi I am looking to write a small VC++ utility which inserts possibly a few thousand records at a time into an Access database. The primary criteria here is efficiency. Which is the more suitable candidate? ODBC or OLE DB? Any input is appreciated. thanks Satheesh Man Learns from History that he never learns from History

    D H 2 Replies Last reply
    0
    • L LasVegasGuy

      Hi I am looking to write a small VC++ utility which inserts possibly a few thousand records at a time into an Access database. The primary criteria here is efficiency. Which is the more suitable candidate? ODBC or OLE DB? Any input is appreciated. thanks Satheesh Man Learns from History that he never learns from History

      D Offline
      D Offline
      dudepdx
      wrote on last edited by
      #2

      You wont see much of a performance difference between the OLE DB ODBC provider and using the ODBC API directly. OLE DB is based on COM and it doesnt introduce any overhead. OLE DB is basically to use COM so that we can have a plug-and-play architecture for application components.

      1 Reply Last reply
      0
      • L LasVegasGuy

        Hi I am looking to write a small VC++ utility which inserts possibly a few thousand records at a time into an Access database. The primary criteria here is efficiency. Which is the more suitable candidate? ODBC or OLE DB? Any input is appreciated. thanks Satheesh Man Learns from History that he never learns from History

        H Offline
        H Offline
        hasansheik
        wrote on last edited by
        #3

        You can choose OLEDB. because ODBC is a generailised interface it will take some more time than OLEDB. all the best

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups