Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Best resources to learn SQL back-end of MS Dynamics CRM

Posted on 2013-11-13
3
Medium Priority
?
692 Views
Last Modified: 2016-02-11
Hi All

I'm a SQL Server SSIS developer that is being thrown at a couple of ETL projects moving data in and out of MS Dynamics CRM.

Question:  What are the best resources to learn the SQL back-end of MS Dynamics CRM?

Thanks in advance.
Jim
0
Comment
Question by:Jim Horn
3 Comments
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 1000 total points
ID: 39645824
Dynamics CRM uses Sql Database but does not support direct SQL manipulation. You would want to read CRM SDK for insert/update operations. Reading data is fine as long as you are using filtered views OR you know what exactly you need to get and ite implications from Security perspective then you can bypass filtered views and directly query CRM Tables.
0
 
LVL 28

Assisted Solution

by:omgang
omgang earned 1000 total points
ID: 39652557
Jim, I have also recently become involved in a CRM 2011 deployment and implementation.  As @Chinmay_Patel indicates we really cannot directly access/manipulate the SQL back-end (in my situation we're using CRM Online so no access to the SQL db at all).  For getting data loaded from a legacy SQL Server db I generated import XML files from CRM and populated them from the SQL db data.  Note that new data fields for the entity can be created/added during this process; the import wizard provides for this.
OM Gang
0
 
LVL 66

Author Closing Comment

by:Jim Horn
ID: 39740302
Thanks guys.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question