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. Database & SysAdmin
  3. Database
  4. Comparison of '.NET SqlClient' and 'Microsoft OLEDB' for accessing MSSQL 7 and above

Comparison of '.NET SqlClient' and 'Microsoft OLEDB' for accessing MSSQL 7 and above

Scheduled Pinned Locked Moved Database
sql-servercsharpdatabasesysadminquestion
4 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.
  • U Offline
    U Offline
    Uday Takbhate
    wrote on last edited by
    #1

    In the .NET documentation Microsoft is recommending usage of SQL server .NET data provider for accessing MSSQL 7 and above. Will any one please tell me what are the advantages of using .NET library over OLEDB? Uday

    N V 2 Replies Last reply
    0
    • U Uday Takbhate

      In the .NET documentation Microsoft is recommending usage of SQL server .NET data provider for accessing MSSQL 7 and above. Will any one please tell me what are the advantages of using .NET library over OLEDB? Uday

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      Uday Patil wrote: In the .NET documentation Microsoft is recommending usage of SQL server .NET data provider for accessing MSSQL 7 and above. I believe the main differences are in optimization for speed. -Nick Parker

      1 Reply Last reply
      0
      • U Uday Takbhate

        In the .NET documentation Microsoft is recommending usage of SQL server .NET data provider for accessing MSSQL 7 and above. Will any one please tell me what are the advantages of using .NET library over OLEDB? Uday

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        Hi Uday, I think using SqlClient for accessing SQL Server 2000 in ADO.NET has good speed enhancments w.r.t. make-n-break connections, query update speeds and lot more. DataSet too seems to have real good methods to update directly to the db. I have'nt fully explored this, since I am currently working with OleDb and IBM Db2 database. Did this attend to your query? Deepak Kumar Vasudevan http://deepak.portland.co.uk/

        U 1 Reply Last reply
        0
        • V Vasudevan Deepak Kumar

          Hi Uday, I think using SqlClient for accessing SQL Server 2000 in ADO.NET has good speed enhancments w.r.t. make-n-break connections, query update speeds and lot more. DataSet too seems to have real good methods to update directly to the db. I have'nt fully explored this, since I am currently working with OleDb and IBM Db2 database. Did this attend to your query? Deepak Kumar Vasudevan http://deepak.portland.co.uk/

          U Offline
          U Offline
          Uday Takbhate
          wrote on last edited by
          #4

          Thank you Deepak and Nick, :) I gone through many documents related to this. I found some good things abt SqlClient. But I dont think them sufficient enough for change my application to support SqlClient. For this I am conducting a benchmark test. I will be having results in my hands within a day or two. I will definately update you regarding results. Thanks and regards Uday

          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