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.
Author |
Topic |
fanfan
Starting Member
3 Posts |
Posted - 2007-06-14 : 17:24:36
|
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. |
|
cvraghu
Posting Yak Master
187 Posts |
Posted - 2007-06-14 : 19:18:16
|
Did you tried to search for solution in this forum? This might help you - http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926 |
|
|
jhietsc
Starting Member
1 Post |
Posted - 2007-06-29 : 00:11:44
|
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 -cCharI found the following URL's very helpful:http://msdn2.microsoft.com/en-us/library/aa174646(SQL.80).aspxhttp://www.databasejournal.com/features/mssql/article.php/3391761Julie |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-06-30 : 09:12:47
|
Note that if you use bcp to export data to EXCEL, file will be saved in csv formatMadhivananFailing to plan is Planning to fail |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
|
|
|
|