Question: Need help with this question We use a database to store stock prices: prices use 2 decimal places. E.g. $214.32 prices can be anywhere in
Need help with this question

We use a database to store stock prices: prices use 2 decimal places. E.g. $214.32 prices can be anywhere in the range [ 5000.00...5000.00] (yes: stock prices can be negative.) Which SQL data type is most appropriate (fits the data, but does not waste space) for storing the prices? FLOAT DECIMAL(6,2) DECIMAL(7,2) DECIMAL(4,2) None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
