Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

How to restrict the select of fields that are not needed in SQL executed in x++

(0) ShareShare
ReportReport
Posted on by 28
SQL executed in x++ will select fields that are not needed.
Is there any way to limit this for better performance?
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 10,694 Super User 2024 Season 2 on at
    How to restrict the select of fields that are not needed in SQL executed in x++
    Hi Ko Yamazaki,
     
    I think you can create a best practice rule to to prevent the use of Query/Select statements without fields needed
     
    e.g.
    select * from SalesTable Where SalesId = ''
     
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Martin Dráb Profile Picture
    Martin Dráb 230,466 Most Valuable Professional on at
    How to restrict the select of fields that are not needed in SQL executed in x++
    I think I've already covered it in your previous thread, limited fields of data sources in form from query.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans