Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

MSSQL Stored Procedure

Posted on by 575

Can I create a stored procedure on MSSQL Server that will do jobs like daily automation of a bulk import process from an external application database into the CRM database?

What is the recommended approach?

*This post is locked for comments

  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: MSSQL Stored Procedure

    Hi Steve,

    +1 to Guido and Alagu's comments.

    Directly accessing CRM database is not recommended or supported.

    You must always use the Web Services (Organization Service, Web API).

    Kingswaysoft SSIS provides connectors for Dynamics CRM, so that you don't have to code low level connectivity.

    Then you can use standard SSIS features and Kingswaysoft components to create a SSIS package.

    You can then create a SQL Agent job to run the SSIS package on a a set time.

  • Suggested answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: MSSQL Stored Procedure

    Hi

    It is not recommended way. but you can either SSIS or using organization data service.  The difficultly of direct SP CRM is not only linked with single table behind the screen it was linked with many table(owner=>team/user table, custom entity table).

    So writing SP is not nice way.

    SSIS use kingsway soft

    www.youtube.com/watch

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans