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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 export view to excel
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 06/14/2007 :  17:24:36  Show Profile  Reply with Quote
How can I export a view to an excel spread sheet? I know with table there're import and export options, but how about views? Thanks.

Posting Yak Master

187 Posts

Posted - 06/14/2007 :  19:18:16  Show Profile  Reply with Quote
Did you tried to search for solution in this forum?

This might help you -
Go to Top of Page

Starting Member

1 Posts

Posted - 06/29/2007 :  00:11:44  Show Profile  Send jhietsc a Yahoo! Message  Reply with Quote
I just spent about 4 hours figuring out how to export a View from a SQL database. I found your post in my quest for answers !!! This is what worked for me.

bcp scripting.dbo.vadsrsql out d:\adsr\sql.txt -T -cChar

I found the following URL's very helpful:

Go to Top of Page

Premature Yak Congratulator

22864 Posts

Posted - 06/30/2007 :  09:12:47  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
Note that if you use bcp to export data to EXCEL, file will be saved in csv format


Failing to plan is Planning to fail
Go to Top of Page

Cybernetic Yak Master

11752 Posts

Posted - 06/30/2007 :  14:35:14  Show Profile  Visit spirit1's Homepage  Reply with Quote
this might provide usefull

Causing trouble since 1980
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000