Reputation: 7147
How to export the entire query results to xls format without the value truncated (with the header intact).
e.g
the value is round up to 276408428673510000 when the actual value is suppose to be 276408428673508271
Using this method
Upvotes: 0
Views: 9311
Reputation: 11
My solution was use the LPAD or RPAD functions, you give the exact length that you want and when you export the data, these don't round it.
Upvotes: 1
Reputation: 26
After selecting the data by clicking 'Ctrl+ A' in gride, use 'Ctrl+Shift+C' to copy the data with Header. After pasting the data into MS Excel, try changing the 'format' to number or text. You must be knowing that 'format cells' is available as a right click option in MS Excel.
Upvotes: 1