Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Script Library
 Export from sql to excel,number formated as text

Author  Topic 

Avdhut
Starting Member

11 Posts

Posted - 2011-09-14 : 02:10:19
When i export data from sql server 2008 to excel through openrowset,the numeric data is formated as text and aligned to left even though i formated the excel columns as nummeric.My excel sheet's 1st row contains some text.

will i get proper solution.

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-09-14 : 03:37:23
if it contains some text also it would automatically be treated as text data only.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -