当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Vision Transformer 论文 + 详解( ViT )
周志华机器学习
【CV-Learning】Object Detection & Instance Segmentation
动手学深度学习_卷积神经网络CNN
【go语言入门笔记】12、指针
剑指 Offer 2022/7/5
[CV-Learning] Semantic Segmentation
(十一)树--堆排序
【CV-Learning】目标检测&实例分割
光条提取中的连通域筛除
Introduction of linear regression 01 - API use cases
Attention Is All You Need(Transformer)
[Deep Learning 21 Days Learning Challenge] 1. My handwriting was successfully recognized by the model - CNN implements mnist handwritten digit recognition model study notes
光条中心提取方法总结(二)
彻底搞懂箱形图分析
SQL练习 2022/7/5
yolov3中数据读入(一)
Polynomial Regression (PolynomialFeatures)
字典特征提取,文本特征提取。
pgsql函数中的return类型









