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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章