简体   繁体   English

"“十进制”和“数字”在 PostgreSQL 中不可用"

[英]'Decimal' and 'Numeric' is not available in PostgreSQL

I want to create a new column in my table with a type decimal and numeric, but it is not available in my Data Type<\/code> option.我想在我的表中创建一个类型为小数和数字的新列,但它在我的Data Type<\/code>选项中不可用。 Why is it?为什么?

在此处输入图像描述<\/a>

"

The types decimal and numeric are equivalent.十进制和数字类型是等价的。 Both types are part of the SQL standard.这两种类型都是 SQL 标准的一部分。 Decimal doesn't appear in the list but Numeric does.十进制不会出现在列表中,但数字会出现。

在此处输入图像描述<\/a>

"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM