Microsoft
MB-500 · Question #25
You are a Dynamics 365 Finance developer. You have a table named FMVehicle that contains a field named VehicleId. The table has an index named VehicleIdIdx on the VehicleId field. You declare a…
The correct answer is B. select vehicle order by VehicleId. https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-query
Develop business logic
Question
You are a Dynamics 365 Finance developer. You have a table named FMVehicle that contains a field named VehicleId. The table has an index named VehicleIdIdx on the VehicleId field. You declare a table buffer named vehicle to refer to the table. You need to select all records from the FMVehicle table in ascending order based on VehicleId field in the vehicle variable. Which embedded-SQL statement should you use?
Options
- Aselect vehicle index VehicleId;
- Bselect vehicle order by VehicleId;
- Cselect VehicleId from vehicle order by VehicleId asc;
- Dselect vehicle order by VehicleId desc;
How the community answered
(23 responses)- A13% (3)
- B74% (17)
- C9% (2)
- D4% (1)
Explanation
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-query
Topics
#X++ SELECT statement#table buffer#order by#embedded SQL
Community Discussion
No community discussion yet for this question.