Solved

CRM 4.0 and and outside SQL database

Posted on 2011-02-17
3
243 Views
Last Modified: 2012-05-11
Hi Experts,

If I needed to create a copy of the CRM account and lead tables, to make them accessible for a search through a separate SQL database that I would copy them into, does anyone have a recommendation on what is the most efficient way to accomplish this?  
Here's the request.  I'm supposed to create a solution where users can grab, on-demand, a  copy of the tables, and restore them into a separate SQL database.  
They will use this simplified database to search whether a client is already in the database, or if they are a new client, then we'll want to create a new LEAD in this database.  
(The idea behind this is to manage a homegrown loyalty program on a custom entity in the production CRM.)
Then, I'm supposed to take any data that has been added or changed to this outside database, and integrate it into the production CRM.  These changes would be: adding a new lead record, finding that someone exists in the database, recording that they attended an event on a certain day, ...etc.

This is starting to sound like the Offline Mode CRM where we sync it up when we are done.  We don't need a full-fledged offline version of CRM though, just the ability to search if someone exists already either a Lead or an Account.  

What are everyone's thoughts on the most efficient and supported way to do this?  
0
Comment
Question by:bucball2007
  • 2
3 Comments
 
LVL 17

Expert Comment

by:MIKE
ID: 34923691
Backup data on source system,...then Restore the database on the remote system on a nightly basis.

And or vice versa....

???
0
 

Accepted Solution

by:
bucball2007 earned 0 total points
ID: 34973274
Hi CRX,

Thanks for the feedback.  I've been trying out several different approaches. I only need about 10 columns on 5 or less entities copied into a separate sql database.  I think what I'm going to end up doing is a stored procedure to join and query exactly what I need, then insert it based on the project specs.  so far that seems to be working...

thanks!
0
 

Author Closing Comment

by:bucball2007
ID: 35005306
trying to keep the size down on the outside custom database, so I'm only pulling in exactly what I need, and I can query and join it to get it looking the way I want before I insert
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now