Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A whole Trim?? 1

Status
Not open for further replies.

meny21

IS-IT--Management
Oct 4, 2002
101
MX
Hi Guys!

I got a question, I have this string

"A3232 4566 2323"

And I would like to convert it into this:

"A323245662323"

To take out the spaces of it with a Function, is there a trim function or do I have to create a funcion by my self?

Thanks for any suggestions!

Meny
 
Easy.

REPLACE(<string>, ' ', '')

-SQLBill

Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top