Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Is there a way to fetch fixed number of records using Data Migration Utility Tool?

(0) ShareShare
ReportReport
Posted on by 10

I'm trying to migrate records to a test environment using Microsoft's Data Migration Utility Tool. I only want a few thousand records from each table. I tried using the "top="x"" within the FetchXML but I'm getting an error because the tool uses paging. Is there a way to only migrate over a  fixed number of records using this tool?

  • Deepan Raj Profile Picture
    Deepan Raj 25 on at
    RE: Is there a way to fetch fixed number of records using Data Migration Utility Tool?

    Hi Chris Higgins

    I have solution for your problem

    step 1 please check your fetch xml query 

    SELECT TOP 4 autonumber(column)
    FROM request(table)
    where controlnumber(column) is not Null

     i have used this query i have limited the number of records 

    the problem is in your records you need a autonumber or specific column that specifics a column count 
    pease check and use sql for cds to generate fetch xml and use in data migration tool

    thank you

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans