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
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Exporting data to Excel file from SQL query

Author  Topic 

preeti_gupta
Starting Member

4 Posts

Posted - 2009-05-28 : 03:01:16
Hi

I am unable to export data to excel file from the SQL query.
I tried loading the data to a flat file, which worked fine. Now i want to export it to excel.I always get the following error msg:
'External table is not in the expected format'.

I Tried Data Conversion transformation but still faced the same problem.

Can anyone suggest anything on this.

Your inputs are valuable.



Thanks & regards
Preeti

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-05-28 : 12:13:47
Did you tried to use the export wizard and save at the end as SSIS package?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-05-28 : 14:36:56
also see this

http://sqlblogcasts.com/blogs/madhivanan/archive/tags/Export+to+Excel/default.aspx
Go to Top of Page

preeti_gupta
Starting Member

4 Posts

Posted - 2009-06-02 : 03:13:21
Thanks for the replies.
I am able to export the data to excel report now.

Thanks & regards
Preeti
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-06-02 : 12:59:19
welcome
Go to Top of Page
   

- Advertisement -