Hi,
I have to load some data from a flat file into a table.
Several of the columns are numbers with decimal points. Here are some sample values:
1234.01
1234.0001
1234.000001
So you see what's happening here. I have some numbers with 2, 4, 6 numbers after the decimal point.
My question is this. Should I set up the table columns as FLOAT or NUMERIC(18,6)?
With Numeric, I have to specify the size of my number, such as NUMERIC(18,6). I guess I could set all of the columns to NUMERIC(18,6) even if there's less than 6 digits after the decimal point?
Confused.
Thanks
I have to load some data from a flat file into a table.
Several of the columns are numbers with decimal points. Here are some sample values:
1234.01
1234.0001
1234.000001
So you see what's happening here. I have some numbers with 2, 4, 6 numbers after the decimal point.
My question is this. Should I set up the table columns as FLOAT or NUMERIC(18,6)?
With Numeric, I have to specify the size of my number, such as NUMERIC(18,6). I guess I could set all of the columns to NUMERIC(18,6) even if there's less than 6 digits after the decimal point?
Confused.
Thanks