3

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 option. Why is it?

enter image description here

4
  • 1
    I am not sure which tool you are using to create columns bubt decimal and numeric types are supported in postgresql postgresql.org/docs/9.1/static/datatype-numeric.html Commented Jan 4, 2016 at 6:27
  • @SunilBN - Yeah, Ive been through that page. Im using Pgadmin 1.14.2 Commented Jan 4, 2016 at 6:43
  • 2
    The types decimal and numeric are equivalent. Both types are part of the SQL standard. Decimal doesn't appear in the list but Numeric does. Please show the data types starting with N. Commented Jan 4, 2016 at 6:59
  • @Elad --> Thanks. That's the right answer. You may put your answer to the answer section so that I can mark it right. Commented Jan 4, 2016 at 7:02

1 Answer 1

5

The types decimal and numeric are equivalent. Both types are part of the SQL standard. Decimal doesn't appear in the list but Numeric does.

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.