当前位置:网站首页>Comparison of oracle's number and postgresql's numeric
Comparison of oracle's number and postgresql's numeric
2022-08-04 06:10:00 【Big Yellow Cat No. 1】
Oracle's number and postgresql's numeric data types are both used to store precise decimal types, and the usage is basically the same. The difference between the two data types is recorded here.
oracle:
Storage range:
10^-(130)-10^128(excluding)It is stored in decimal format, which is convenient for storage, but in calculation, the system will automatically convert it into binary foroperational.
precision: [1,38]
scale: [-84,127]
The largest integer bit stored is policy-scale
The scale can be greater than the progresspg does not support, the scale can be <0, and the scale less than zero means the decimal point prefixThe single digits are all 0.
postgresql:
Storage range: Numbers up to 1000 digits of precision.
scale>=0 only supports precision>scale
边栏推荐
猜你喜欢
随机推荐
thymeleaf中 th:href使用笔记
oracle的number与postgresql的numeric对比
剑指 Offer 2022/7/4
Kubernetes集群安装
[CV-Learning] Convolutional Neural Network Preliminary Knowledge
Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
剑指 Offer 2022/7/11
Logistic Regression --- Introduction, API Introduction, Case: Cancer Classification Prediction, Classification Evaluation, and ROC Curve and AUC Metrics
The difference between oracle temporary table and pg temporary table
sklearn中的pipeline机制
postgres 递归查询
光条中心提取方法总结(一)
【CV-Learning】Convolutional Neural Network
(十四)平衡二叉树
SQL练习 2022/7/3
剑指 Offer 2022/7/2
MAE 论文《Masked Autoencoders Are Scalable Vision Learners》
(十)树的基础部分(一)
SQL练习 2022/7/4
Thread 、Handler和IntentService的用法