当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
简单明了,数据库设计三大范式
Pytorch语义分割理解
Usage of RecyclerView
(十三)二叉排序树
剑指 Offer 2022/7/3
WARNING: sql version 9.2, server version 11.0.Some psql features might not work.
TensorFlow2学习笔记:8、tf.keras实现线性回归,Income数据集:受教育年限与收入数据集
oracle的number与postgresql的numeric对比
Briefly say Q-Q map; stats.probplot (QQ map)
SQL练习 2022/7/2
fill_between in Matplotlib; np.argsort() function
【CV-Learning】语义分割
(六)递归
剑指 Offer 2022/7/2
动手学深度学习_线性回归
postgresql 游标(cursor)的使用
【深度学习21天学习挑战赛】2、复杂样本分类识别——卷积神经网络(CNN)服装图像分类
Androd Day02
Image-Adaptive YOLO for Object Detection in Adverse Weather Conditions
多项式回归(PolynomialFeatures)