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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Delphi
  4. SQL Server 2005 Connection Strings.....Some Important Queries

SQL Server 2005 Connection Strings.....Some Important Queries

Scheduled Pinned Locked Moved Delphi
databasequestionc++sql-serversysadmin
2 Posts 2 Posters 12 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.
  • V Offline
    V Offline
    vijay victory
    wrote on last edited by
    #1

    Hi Experts, I m using SQL Server 2005. I have some queries..PLEASE HELP I m using following Connection String

    strConnect = _T("Provider=sqloledb;Data Source=MyServerName;"
    "Initial Catalog=MyDatabaseName;"
    "User Id=MyUsername;Password=MyPassword;");

    My Queries are : 1> What is the Actual use of "Provider"?? 2> What is the difference between "Provider" and "Driver"?? 3> I can connect to Database with using Provider or Driver. By using only "Data Source/ Server" and other parameters then Why to use Provider or Driver? 4> IF I Different Provider like 'SQL Native Client' then Can this increase my SQL Server Connection performance?? Please HELP.. ITs Urgent for Me..

    I have never failed,I just found 1000 ways that never works. Regards, Victory.

    L 1 Reply Last reply
    0
    • V vijay victory

      Hi Experts, I m using SQL Server 2005. I have some queries..PLEASE HELP I m using following Connection String

      strConnect = _T("Provider=sqloledb;Data Source=MyServerName;"
      "Initial Catalog=MyDatabaseName;"
      "User Id=MyUsername;Password=MyPassword;");

      My Queries are : 1> What is the Actual use of "Provider"?? 2> What is the difference between "Provider" and "Driver"?? 3> I can connect to Database with using Provider or Driver. By using only "Data Source/ Server" and other parameters then Why to use Provider or Driver? 4> IF I Different Provider like 'SQL Native Client' then Can this increase my SQL Server Connection performance?? Please HELP.. ITs Urgent for Me..

      I have never failed,I just found 1000 ways that never works. Regards, Victory.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      A list of providers[^] can be found here[^]. As you see, both ODBC and OleDb are providers. You can connect to SQL Server using these providers because they speak SQL Servers' dialect. These two providers are "generic", and they can handle multiple database-formats. The native SQL Client provider was written specific for SQL Server. Yes, this should be somewhat faster :)

      I are Troll :suss:

      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