Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Numeric Data within the Oracle forums, part of the Databases category; I created a table for testing purpose create table xx (a number) inserting 38 digit number insert into xx values(11111111111111111111111111111111111111) inserting 39 digit number insert into xx values(111111111111111111111111111111111111111) inserting 126 ...
|
|||||||
| Oracle Oracle 9i & Oracle 10g Knowledge Base Learn and Share Oracle Technology related articles, white papers, tutorials / study materials, example codes, FAQ's, Tips and Tricks. |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
Numeric Data
I created a table for testing purpose
create table xx (a number) inserting 38 digit number insert into xx values(11111111111111111111111111111111111111) inserting 39 digit number insert into xx values(111111111111111111111111111111111111111) inserting 126 digit number insert into xx values(1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111) if i try to insert 127 digit number then it is showing message ora - 01426 numeric overflow. Precision for oracle numeric data is 38 only. How it is accepting a numeric value upto 126 digits? Last edited by krishnaindia2007; 02-23-2008 at 06:51 AM. |
| Sponsored Links |
|
|||
|
Re: Numeric Data
For Example ,if precision is defined
create table xx (a number(38)) ---- inserting 39 digit number insert into xx values(111111111111111111111111111111111111111) then it will return error ora-01438 ----- if not defined then the precision is the maximum number of significant decimal digits i.e 126 binary digits |
|
|||
|
Re: Numeric Data
Whether numeric datatype is fixed length datatype or variable length datatype? i.e. Whether if takes fixed length irrespective of value we stored just like char datatype or it takes space depending on the value we stored?
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| data flows in the architecture of data warehouse? | pkishoreroy | Data Warehousing | 1 | 03-27-2008 02:33 AM |
| Data Warehouse Bulk Data Transfer | Lokesh M | Data Warehousing | 0 | 01-31-2008 05:52 AM |
| Explicit data type conversion for numeric field | sangeethadutt | VB.NET | 1 | 07-27-2007 01:00 AM |
| Extract Data from Operational Data sources Dynamically | Geek_Guest | Data Warehousing | 0 | 07-22-2007 12:55 PM |
| Control file syntax to transfer data from multiple data files | Geek_Guest | Oracle Apps | 0 | 06-14-2007 10:35 AM |