Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> what datatype to use question
Greetings.
What datatype should I specify for a column that is to hold image extents?
The values can be for raster, pretty small or large integers,
and for vectors they can be in ranges like the following:
(-21234.5768, 21234.5678)
(-0.00332, .14234)
etc.
I am guessing that as long as I can guarantee 6 or 7 decimal places of accuracy, and hold up to 7 or 8 digits to the left of the decimal place, I should be pretty safe, but I am unsure how to proceed, i.e.:
CREATE TABLE TESTDOUBLE (
REALONE REAL , DECIMALONE DECIMAL , FLOATONE FLOAT , NUMBERONE NUMBER
Thanks for your recommendations.
Jeff
Received on Tue Apr 08 2003 - 11:45:09 CDT