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 |
|
newsqluser123
Starting Member
7 Posts |
Posted - 2008-05-15 : 10:46:37
|
| I'm trying to export a query to a csv file. Everything works greatuntil I hit the name field. Is there a way to remove commas from a select statement. Here's what my Data looks likeItem # | Name-------------------------1111 | Acme, Inc1112 | Test Company, IncI'd like it to print out asItem # | Name-------------------------1111 | Acme Inc1112 | Test Company IncThanks for any help in advance. |
|
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2008-05-15 : 10:48:25
|
| [code]Select [Item #], Replace(Name, ',', '') as [Name]from table[/code]Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
|
|
|
|