Skip to main content

Notifications

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans