Oracle-PLSQL Data Types

Oracle-PLSQL Data Types - Oracle/PLSQL:DataTypes The...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Oracle/PLSQL: Data Types The following is a list of datatypes available in Oracle and PLSQL. Difference between datatypes available in Oracle 8i versus Oracle 9i. Data Type Syntax Oracle 8i Oracle 9i Explanation (if applicable) dec(p, s) The maximum precision is 38 digits. The maximum precision is 38 digits. Where p is the precision and s is the scale. For example, dec(3,1) is a number that has 2 digits before the decimal and 1 digit after the decimal. decimal(p, s) The maximum precision is 38 digits. The maximum precision is 38 digits. Where p is the precision and s is the scale. For example, decimal(3,1) is a number that has 2 digits before the decimal and 1 digit after the decimal. double precision float int integer numeric(p, s) The maximum precision is 38 digits. The maximum precision is 38 digits. Where p is the precision and s is the scale. For example, numeric(7,2) is a number that has 5 digits before the decimal and 2 digits after the decimal. number(p, s) The maximum precision is 38 digits. The maximum precision is 38 digits. Where p is the precision and s is the scale. For example,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
number(7,2) is a number that has 5 digits before the decimal and 2 digits after the decimal. real
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/15/2011 for the course ECO 2023 taught by Professor Mr.raza during the Summer '10 term at FAU.

Page1 / 4

Oracle-PLSQL Data Types - Oracle/PLSQL:DataTypes The...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online