当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
光条中心提取方法总结(一)
Linear Regression 02---Boston Housing Price Prediction
SQL练习 2022/7/5
空洞卷积
剑指 Offer 2022/7/2
【深度学习21天学习挑战赛】1、我的手写被模型成功识别——CNN实现mnist手写数字识别模型学习笔记
ValueError: Expected 96 from C header, got 88 from PyObject
0, deep learning 21 days learning challenge 】 【 set up learning environment
(十二)树--哈夫曼树
Usage of Thread, Handler and IntentService
Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
TensorFlow2学习笔记:5、常用激活函数
[Deep Learning 21-Day Learning Challenge] 3. Use a self-made dataset - Convolutional Neural Network (CNN) Weather Recognition
基于PyTorch的FCN-8s语义分割模型搭建
剑指 Offer 2022/7/5
图像合并水平拼接
yolov3中数据读入(一)
oracle临时表与pg临时表的区别
属性动画的用法 以及ButterKnife的用法
SQL练习 2022/7/2








