How to store Decimal value with more than 13 digits
Posted: Tue Nov 24, 2015 11:13 am
Hi ,
We have a scenario where we need to store long decimal values in Vertica tables (more than 13 decimals) eg: 10.123456789123456789.
What exactly the data type we need to use in Vertica to store this value.
We have tried with Decimal and we can store the value, but while retrieving we will be able to see only 13 characters length.
Another alternative is to store the value in VARCHAR format.....!!! But wanted to check is there any other way in Vertica.
Thank You!!
We have a scenario where we need to store long decimal values in Vertica tables (more than 13 decimals) eg: 10.123456789123456789.
What exactly the data type we need to use in Vertica to store this value.
We have tried with Decimal and we can store the value, but while retrieving we will be able to see only 13 characters length.
Another alternative is to store the value in VARCHAR format.....!!! But wanted to check is there any other way in Vertica.
Thank You!!