2

I have a table column 'Name' in SQL Server 2012 which contains data in a form such as:

'  first      name  '

What I want is to remove while select, the extra spaces (multiple spaces in between with only one space) and the result should be like:

'first name'

Any help? Thanks

Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360
Ikram Khan
  • 89
  • 1
  • 9

0 Answers0