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 |
ccrespo
Yak Posting Veteran
59 Posts |
Posted - 2007-08-20 : 12:36:17
|
I've been using bcp, but is there anyway to ouput to a csv file? |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-20 : 12:42:46
|
OPENROWSETOPENDATASOURCELINKED SERVER E 12°55'05.25"N 56°04'39.16" |
|
|
ccrespo
Yak Posting Veteran
59 Posts |
Posted - 2007-08-20 : 12:55:34
|
What is that suppose to mean?With using bcp, can you do "select field1 + ',' + field2 + ',' + field3" ? |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-20 : 12:58:12
|
You can BCP out a VIEW or a SP, yes. E 12°55'05.25"N 56°04'39.16" |
|
|
ccrespo
Yak Posting Veteran
59 Posts |
Posted - 2007-08-20 : 14:22:11
|
You mean create a view that has the field values separated with commas then "select * from view1" to bcp? |
|
|
X002548
Not Just a Number
15586 Posts |
|
ccrespo
Yak Posting Veteran
59 Posts |
Posted - 2007-08-21 : 11:32:29
|
Can you post an example with a ',' as a field terminator? |
|
|
|
|
|