Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Insertion the data

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
    GirishS 27,832 Super User 2024 Season 1 on at
    RE: Insertion the data

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans