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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Insertion the data

(0) ShareShare
ReportReport
Posted on by 5

Dear all I am very new in this industry please help me I want to insert the data from one table to another table how I write the syntax 

  • GirishS Profile Picture
    27,845 Moderator on at

    Hi muhammad,

    1. You can use either class or runnable class to insert data from one table to another.

    Syntax,

    //iniatialize buffer for the table.
    Table table1;
    Table table2;
    //Depending on the number of record you can use select or while select..
    While select * from table1
    {
        table2.value = table1.value;
        .....
        .....
        table2.insert();
    }

    Thanks,

    Girish S.

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

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

#3
Aayush Tiwari Profile Picture

Aayush Tiwari 222

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans