当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
oracle临时表与pg临时表的区别
Android foundation [Super detailed android storage method analysis (SharedPreferences, SQLite database storage)]
TensorFlow2学习笔记:8、tf.keras实现线性回归,Income数据集:受教育年限与收入数据集
android基础 [超级详细android存储方式解析(SharedPreferences,SQLite数据库存储)]
PCL窗口操作
MySql--存储引擎以及索引
(十)树的基础部分(一)
超详细MySQL总结
【CV-Learning】卷积神经网络
Logistic Regression --- Introduction, API Introduction, Case: Cancer Classification Prediction, Classification Evaluation, and ROC Curve and AUC Metrics
WARNING: sql version 9.2, server version 11.0. Some psql features might not work.
sklearn中的pipeline机制
线性回归简介01---API使用案例
SQL练习 2022/7/4
Jupyter Notebook installed library;ModuleNotFoundError: No module named 'plotly' solution.
TensorFlow2 study notes: 4. The first neural network model, iris classification
简单说Q-Q图;stats.probplot(QQ图)
剑指 Offer 2022/7/4
Data reading in yolov3 (1)
Qt日常学习








