web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

how to insert records into custom entity from sql server Database Procedure

(0) ShareShare
ReportReport
Posted on by 5

HI,

We have a MS Dynamics CRM on Promises. I created a new custom entity and wrote a new database procedure in the CRM Database. This procedure is doing a lot of calculations. I want to insert the output records that resulted from these calculations in the custom entity from the same DB procedure.

Please Help.

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: how to insert records into custom entity from sql server Database Procedure

    Hello,

    My recommendation - don't insert data to your CRM using SQL. You can do queries/calculations using SQL procedures but when it's coming to creates/updates/deletes - you should use supported approach and it's either home grown app that will connect and do required data manipulations or SSIS + adapter for CRM (I recommend KingsWaySoft adapter).

    Good luck.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans