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