SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 
        
Home       Members    Calendar    Who's On


1234»»»

Export database into Excel Expand / Collapse
Author
Message
Posted Wednesday, October 01, 2008 10:13 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, June 26, 2009 8:23 AM
Points: 115, Visits: 318
Hi guys...
A big favor, I need to export my database into excel format, I have been trying using SQL Management Studio but it failed....please any other tool I could use to perform this task?, or some query...please?... I need to get that shortly...
Thank you.


OS windows 2003
SQL Server 2005 EE
Post #579219
Posted Wednesday, October 01, 2008 10:26 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, June 30, 2009 12:01 PM
Points: 16, Visits: 124
You can export the Tables/Views data from database to excel file.

For this you have to rightclick database and select export data.It will ask you the source and destination..after that you can select whatever(Tables/Views) you want..

Hope this would help...
Post #579231
Posted Wednesday, October 01, 2008 10:30 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: 2 days ago @ 9:42 AM
Points: 89, Visits: 495
How big is the database? There's always cut'n'paste :D from the results window. Or saving to a text file and importing the results ;)

I've found the Export Data Wizard to work ok in the past, it even lists Excel (with an ancient Excel icon) as one of the export options.
Post #579233
Posted Wednesday, October 01, 2008 11:03 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, June 26, 2009 8:23 AM
Points: 115, Visits: 318
I tried that wizrd export table/views...select the ones I need, in this case the whole database...but when I start with the exporting...it failed with : " Failed with the following error :"The microsoft Jet database engine could not find the object 'asass'. Make sure the object existes and taht you spell its name and path name correctly. posible failure reasons : Problems with the query, 'Resultset' property not set correctly, parameters not set correctly or connection not establish'

I test the connection..and it passed
I don't kknow what else could be...
database size 1GB
Please help..
Thank you.
Post #579252
Posted Wednesday, October 01, 2008 11:24 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 10:38 AM
Points: 1,275, Visits: 3,218
You can use SSIS to do this.

though if your databsae is large then you are going to run into trouble exporting to excel 2003 as excel 2003 and earlier versions only have 65,536 rows.
Post #579269
Posted Wednesday, October 01, 2008 11:36 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, June 26, 2009 8:23 AM
Points: 115, Visits: 318
If so, please would you mind recommending me another tool, or another way to do it, please?..I really need to export this..and I am getting crazy.
Thanks.
Post #579274
Posted Wednesday, October 01, 2008 11:39 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Yesterday @ 8:11 PM
Points: 606, Visits: 794
You do not need another tool - follow advice above its all there in SSMS.
Post #579278
Posted Wednesday, October 01, 2008 11:42 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 10:38 AM
Points: 1,275, Visits: 3,218
Junior_DBA (10/1/2008)
If so, please would you mind recommending me another tool, or another way to do it, please?..I really need to export this..and I am getting crazy.
Thanks.


export the DB to a CSV file using SSIS then you can use these files to populate excel if needed.
SSIS even has a wizard to get you started, though it is very similar to the one in SSMS
Post #579281
Posted Wednesday, October 01, 2008 12:09 PM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Yesterday @ 8:11 PM
Points: 606, Visits: 794
In Excel 2007 you can link directly to the SQL also.
Click on Data Connections.

Click on properties and set up your defintion.....

Viola no export - direct access ....to SQL.
Post #579294
Posted Thursday, October 02, 2008 10:13 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, June 26, 2009 8:23 AM
Points: 115, Visits: 318
Hi Guys...I followed your advise, and I just get the .dtsx file, but now how can I do to export to excel?
Please any help???
Thank you.
Post #579782
« Prev Topic | Next Topic »

1234»»»

Permissions Expand / Collapse