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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

What happens behind the scenes of recordSet operations

(2) ShareShare
ReportReport
Posted on by 145
Hi Experts, 
 
I understand that insert_recordset, update_recordSet and delete_recordset will increase the performance to update multiple data when compared to looping and updating or inserting. 
 
I am trying to understand what is happening behind the scenes of these recordset operation which enhances the performance? And second question is, why does update_Recordset and Delete_recordset does not need a ttsbegin and commit? 
 
Any inputs are appreciated. 
 
Thanks in advance, 
Regards, John.
I have the same question (0)
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    5,016 Most Valuable Professional on at
    Hi John,
     
    It send's the insert and update statement directly to the SQL server as a set based operation, instead of doing a per-record insert or update.
    Here is a link to the Microsoft docs:
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 330 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 310

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 242 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans