adspace


How to remove row affected and dashes?

Answer Posted / Sunny Aggarwal

To remove row affected and dashes in Sybase, you can use the REPLACE function. For example, to remove dashes from a varchar variable named str, you would do: DECLARE @str VARCHAR(50) = '--example--'; SELECT REPLACE(@str, '-', '') as result.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category