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
 Transact-SQL (2005)
 field outcomes

Author  Topic 

cipriani1984
Constraint Violating Yak Guru

304 Posts

Posted - 2009-05-18 : 05:42:50
Hi,

How would I be able to change the outcomes of a field, so when im extracting to csv it would come out like;

Field1, Field2
"John", Smith

instead of

Field1, Field2
John, Smith

Thanks

Cipriani

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-05-18 : 06:16:27
[code]select '"' + Field1 + '"', Field2[/code]


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -