What are the differences between OLEDB/ODBC drivers when connecting to SQL Server?

前端 未结 1 2033
不思量自难忘°
不思量自难忘° 2021-02-15 00:02

I have an SQL Server database, and I need to push data into it through vbscript, as well as pull data into Excel. I have found multiple connection strings, but no repository for

1条回答
  •  执念已碎
    2021-02-15 00:21

    ODBC-it is designed for connecting to relational databases. However, OLE DB can access relational databases as well as nonrelational databases.

    There is data in your mail servers, directory services, spreadsheets, and text files. OLE DB allows SQL Server to link to these nonrelational database systems. For instance, if you want to query, through SQL Server, the Active Directory on the domain controller, you couldn't do this with ODBC, because it's not a relational database. However, you could use an OLE DB provider to accomplish that.

    http://www.sqlservercentral.com/Forums/Topic537592-338-1.aspx

    0 讨论(0)
提交回复
热议问题