I'm not sure which Forum is best suited to my query, but I'll try here first !!
I'm creating a CSV file using UTL_FILE from Oracle 8.1.5 with out any problem. My problem comes when a User attempts to open the CSV and read the data. One of the fields I'm outputting is a Numeric field that is 19 digits in length. Unfortunately, when the file is opened in MS Excel, the field is shown as 1.12345E+18 instead of the full number (e.g.) 1234567890123456789 If the column then formatted in MS Excel to be a number, the data is displayed as 1234567890123450000 (i.e. the last 4 digits get set to zero !!)
Any ideas what I can do to workaround this ??
(PS => I've already thought of enclosing my numeric fields in quote marks - this works, but looks unsightly so I can't really see my users going for this!!)
Thanks.
I'm creating a CSV file using UTL_FILE from Oracle 8.1.5 with out any problem. My problem comes when a User attempts to open the CSV and read the data. One of the fields I'm outputting is a Numeric field that is 19 digits in length. Unfortunately, when the file is opened in MS Excel, the field is shown as 1.12345E+18 instead of the full number (e.g.) 1234567890123456789 If the column then formatted in MS Excel to be a number, the data is displayed as 1234567890123450000 (i.e. the last 4 digits get set to zero !!)
Any ideas what I can do to workaround this ??
(PS => I've already thought of enclosing my numeric fields in quote marks - this works, but looks unsightly so I can't really see my users going for this!!)
Thanks.