Sample Question 5:
You want to store the Shipment Type of all orders in a table named ShipmentDetails.
The Shipment Type needs to be a field that stores values for "Freight", "Ground", or "Air". You also need to ensure that the text that is displayed to users on forms is localized for the shipment types and that the values in the database are independent of the language the user is utilizing.
What should you do?
A. Create an integer field for Shipment Type on the ShipmentDetail table. Write business logic to convert the integer field to text on forms.
B. Create a base enum for Shipment Type with the different shipment types as choices. Use this base enum as a field on the ShipmentDetails table.
C. Create a string field for Shipment Type on the ShipmentDetails table.
D. create an Extended Data Type (EDT) for Shipment Type that extends from string. Use this EDT on the Shipments table.
Answer: A
No comments:
Post a Comment