简体   繁体   English

如何使用SQL从Dynamics CRM联机获取数据到我的SQL服务器?

[英]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.

相关问题 通过MS Dynamics CRM沙盒插件从中获取来自Azure托管SQL服务器的数据 - Get data from Azure hosted SQL server from with in MS Dynamics CRM Sandbox plugin SQL Server / Dynamics CRM:仅使用SQL从注释基础读取文档正文 - SQL Server/Dynamics CRM: How to read document body from Annotation Base using SQL only 将SQL Server数据移到Dynamics 365 CRM中 - Moving SQL server data into Dynamics 365 CRM 我如何使用SQL Server从Excel中获取数据 - How do i get data from excel using sql server Azure 数据工厂管道 - 从本地 SQL Server 和 Dynamics CRM 复制数据 - Azure Data Factory pipeline - copy data from on-premises SQL Server and Dynamics CRM SQL Server:如何从历史记录表中获取数据? - SQL Server: how do I get data from a history table? 如何让数据从 Python“提交”到 SQL Server? - How do I get Data to 'commit' from Python to SQL Server? 如何避免在Dynamics CRM 2011 SQL报告中嵌入连接字符串? - How do I avoid embedding the connection string in a Dynamics CRM 2011 SQL report? 来自Microsoft Dynamics 365的SQL Server数据库的日志文件 - Logfile of SQL Server Database from Microsoft Dynamics 365 online 如何将数据从 SQL 数据库字段类型(nvarchar)同步到 Dynamics CRM 字段类型(查找) - How to Sync data from SQL database field type(nvarchar) to Dynamics CRM field type (Lookup)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM