Try the following:

REPLACE(products_description, CHAR(9), " ")


Randall Price
VT.SETI.IAD.MIG:Microsoft Implementation Group
http://vtmig.vt.edu
[EMAIL PROTECTED]


-----Original Message-----
From: Vince LaMonica [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 10:44 AM
To: mysql@lists.mysql.com
Subject: using replace() to remove tab chars

Hi all,

I am trying to use the replace() function in MySQL 4.1.13a to find and 
remove tab characters. I'm not sure how to signify the tab char,
however. 
I've tried, "\t" to no avail:

update products_description set products_description = 
replace(`products_description`,"\t"," ") where products_id = "33";

Does anyone have any suggestions? The mysql server [and client] are 
running under Linux. The products_description field is a 'text' type. If

there's further info you need, please let me know.

Thanks in advance,

/vjl/

-- 
Vince J. LaMonica       Knowledge is knowing a street is one way.
[EMAIL PROTECTED]  <*>  Wisdom is still looking in both directions.

       When there's nothing else to read: http://w3log.vjl.org/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to