[英]How do I get data from Dynamics CRM online in to my SQL server using SQL?
I can't believe that I have not yet found the answer to this question. 我无法相信我还没有找到这个问题的答案。
All I want to know is where to start in terms of using SQL tools (queries or SSIS I assume) to query CRM online (2013) and bring data into a table. 我想知道的是从使用SQL工具(我假设的查询或SSIS)到在线查询CRM(2013)并将数据带入表中的开始。
Is this even possible? 这甚至可能吗?
I want to download data, then I want to transform then I want to put it back. 我想下载数据,然后我想转换然后我想把它放回去。 I'm sure I can work out that once I know to start!!!
一旦我知道开始,我相信我能解决这个问题!
Many thanks, Warren 非常感谢,沃伦
Unfortunately, CRM Online doesn't give you direct access to the database layer via SSMS. 遗憾的是,CRM Online不允许您通过SSMS 直接访问数据库层。
There are some good samples in the CRM SDK that show how to retrieve data if you are up for writing some C#. CRM SDK中有一些很好的示例,展示了如果要编写一些C#,如何检索数据。 This is their intro sample for how to connect to your CRM instance, gather some data, display it, and then update the entities.
这是他们的介绍示例,了解如何连接到CRM实例,收集一些数据,显示它,然后更新实体。 http://msdn.microsoft.com/en-us/library/hh675400.aspx
http://msdn.microsoft.com/en-us/library/hh675400.aspx
Once you manage to connect to your CRM instance, you will have access to all of your CRM data objects. 一旦设法连接到CRM实例,您就可以访问所有CRM数据对象。
根据我的经验,我可以建议您使用SSIS将数据从CRM Online发送到您的SQL,并且可以使用SSIS Integration Toolkit for CRM 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.