Computer Science, asked by Pushkarnarayan551, 3 months ago

which data type specifies various currencies and display it in different formats​

Answers

Answered by Havyasdore
2

Answer:

the datatype for currency is MONEY.

the money datatype will store the information only, without the format: in your example the information is 11.23 so that's what is saved into the database.

the $ sign is part of the format so it will not be stored into the money field.

the usual solution is to have a MONEY field for the amount and a VARCHAR field for the currency symbol/name.

Similar questions