• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3563
  • Last Modified:

Replace non-breaking space in sql field

I have SSN's in a field that have a ascii character 160 in front of them which is a non-breaking space.  I tried teh Ltrim and replace but it seems not to have a effect how can I get ride of this space.
1 Solution
udaya kumar laligondlaTechnical LeadCommented:
use  LTrim(RTrim(replace(FieldName,Char(160), ' ') ))
kdeutschAuthor Commented:
Works great thanks

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now