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
 General SQL Server Forums
 New to SQL Server Programming
 move comma to the left.

Author  Topic 

gongxia649
So Suave

344 Posts

Posted - 2006-10-18 : 13:32:25
SAMPLE
keyboard , keyboard keyboard
piano , keyboard keyboard


RESULT
keyboard, keyboard keyboard
piano, keyboard keyboard

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-10-18 : 13:36:59
This you should know by now!
quote:
Originally posted by gongxia649
SAMPLE
keyboard , keyboard keyboard
piano , keyboard keyboard

RESULT
keyboard, keyboard keyboard
piano, keyboard keyboard

update mytable set mycolumn = replace(mycolumn, ' ,', ',')

Peter Larsson
Helsingborg, Sweden
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-10-20 : 11:14:47
How do you send data to table?
Filter it before sending

Madhivanan

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

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-10-20 : 11:28:24
aka "Do it in front end"?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-10-20 : 11:45:08
move comma to the left,
move comma to the right,
turn it around sharp and
make that sql right!





Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-10-20 : 12:22:18
quote:
Originally posted by spirit1

move comma to the left,
move comma to the right,
turn it around sharp and
make that sql right!





Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp




Madhivanan

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

- Advertisement -