Home > Archive > MS SQL Server > October 2006 > How can i preserve data type during the export to Excel









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How can i preserve data type during the export to Excel
Sale

2006-10-31, 12:15 am

When i export data to a Excel file numeric fields are exported as
General type in excel.
Does anybody know how can i preserve numeric type for this columns
(double, float or integer).

Robert Klemme

2006-10-31, 12:15 am

On 30.10.2006 12:00, Sale wrote:
> When i export data to a Excel file numeric fields are exported as
> General type in excel.
> Does anybody know how can i preserve numeric type for this columns
> (double, float or integer).
>

How do you export them? Did you try to import them from Excel directly
via ODBC data source?

robert
Sale

2006-10-31, 12:15 am

> How do you export them? Did you try to import them from Excel directly
> via ODBC data source?
>
> robert



I use DTS package for export to Exel

Sale

2006-10-31, 12:15 am


Maybe better question is wich data type Excel accept as number when i
perform export from SQL server ( via DTS). I tried double (SQL offer
this as a default), and decimal, but result remain the same.

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com