OLE DB和ODBC数据源之间有什么区别? - what is the difference between OLE DB and ODBC data sources?

问题:

I was reading a MS Excel help article about pivotcache and wonder what they mean by OLE DB and ODBC sources 我正在阅读有关pivotcache的MS Excel帮助文章,并想知道OLE DB和ODBC源的含义

...You should use the CommandText property instead of the SQL property, which now exists primarily for compatibility with earlier versions of Microsoft Excel. ...您应该使用CommandText属性而不是SQL属性,该属性现在主要用于与早期版本的Microsoft Excel兼容。 If you use both properties, the CommandText property's value takes precedence. 如果同时使用这两个属性,则CommandText属性的值优先。

For OLE DB sources , the CommandType property describes the value of the CommandText property. 对于OLE DB源 ,CommandType属性描述CommandText属性的值。

For ODBC sources , the CommandText property functions exactly like the SQL property, and setting the property causes the data to be refreshed... 对于ODBC源 ,CommandText属性的功能与SQL属性完全相同,设置属性会导致数据刷新...

I really appreciate your short answers. 我非常感谢你的简短回答。


解决方案:

参考一: https://en.stackoom.com/question/Qpz
参考二: https://stackoom.com/question/Qpz
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章