Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Replace multiple spaces with one space

$
0
0

i have searched for other theads on this but not been able to make them work. i have several fields that have multiple spaces betweent the City State and Zip Code. i want to be able to make only one space between each.  a combination of Substring and Replace is what i have been trying but not able to make it work. a do while might be what i need but not sure how to do it.


Viewing all articles
Browse latest Browse all 7129

Trending Articles