我不熟悉 Sharepoint。我想使用 PHP 查询或读取 Sharepoint 数据库。
有什么办法可以做到吗?
先谢谢你。非常感谢任何帮助。
最佳答案
我强烈建议改用 SharePoint WebServices...除非有正当理由(即性能),否则我不会接触数据库。 Quote from this answer:
- This is completely unsupported by the EULA you agreed to when you installed SharePoint.
- Your queries are not guaranteed to work after applying any patches or service packs to SharePoint since Microsoft could change the database schema anytime.
- Directly querying the database can place extra load on a server and hence performance issues.
- Direct SELECT statements against the database take shared read locks at the default transaction level so your custom queries might cause deadlocks and hence stability issues.
- Your custom queries might lead to incorrect data being retrieved.
如果您想了解更多关于为什么不应该查询数据库的信息,here真是一篇很棒的文章
关于php - 通过 PHP 连接到 Sharepoint 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7782645/